Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@cbracken
Copy link
Member

@cbracken cbracken commented Jul 29, 2022

This merges SettingsPluginWin32 into SettingsPlugin.

With the removal of the UWP embedder, we can merge Win32-specific
implementation classes with their abstract superclasses where those
superclasses existed only to support both UWP and Win32.

No new tests since this is purely a restructuring of existing code
within the Win32 embedder, with no expected change in behaviour.
Covered by existing tests in settings_plugin_unittests.cc.

Issue: flutter/flutter#108386

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

This merges SettingsPluginWin32 into SettingsPlugin.

With the removal of the UWP embedder, we can merge Win32-specific
implementation classes with their abstract superclasses where those
superclasses existed only to support both UWP and Win32.

No new tests since this is purely a restructuring of existing code
within the Win32 embedder, with no expected change in behaviour.

Issue: flutter/flutter#108386
virtual void StopWatching() = 0;
virtual void StopWatching();

protected:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These remain protected rather than being made private since they're overridden by the mock and used in the tests in settings_plugin_unittests.cc.

@Hixie
Copy link
Contributor

Hixie commented Jul 30, 2022

test-exempt: code refactor with no semantic change

@cbracken cbracken merged commit 2555b16 into flutter:main Jul 30, 2022
@cbracken cbracken deleted the settings-plugin-win32 branch July 30, 2022 18:07
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 30, 2022
betrevisan pushed a commit to betrevisan/engine that referenced this pull request Aug 5, 2022
This merges SettingsPluginWin32 into SettingsPlugin.

With the removal of the UWP embedder, we can merge Win32-specific
implementation classes with their abstract superclasses where those
superclasses existed only to support both UWP and Win32.

No new tests since this is purely a restructuring of existing code
within the Win32 embedder, with no expected change in behaviour.

Issue: flutter/flutter#108386
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
This merges SettingsPluginWin32 into SettingsPlugin.

With the removal of the UWP embedder, we can merge Win32-specific
implementation classes with their abstract superclasses where those
superclasses existed only to support both UWP and Win32.

No new tests since this is purely a restructuring of existing code
within the Win32 embedder, with no expected change in behaviour.

Issue: flutter/flutter#108386
cbracken pushed a commit that referenced this pull request Sep 7, 2022
The #35019 didn't merge SettingsPluginWin32's constructor and destructor. This PR adds them and fix SettingsPlugin to re-enable it to watch the theme changes.

This PR is part of flutter/flutter#110700.

No changes in the flutter/tests repo.
cfontas pushed a commit to cfontas/engine that referenced this pull request Sep 14, 2022
The flutter#35019 didn't merge SettingsPluginWin32's constructor and destructor. This PR adds them and fix SettingsPlugin to re-enable it to watch the theme changes.

This PR is part of flutter/flutter#110700.

No changes in the flutter/tests repo.
Oleh-Sv pushed a commit to Oleh-Sv/engine that referenced this pull request Sep 28, 2022
The flutter#35019 didn't merge SettingsPluginWin32's constructor and destructor. This PR adds them and fix SettingsPlugin to re-enable it to watch the theme changes.

This PR is part of flutter/flutter#110700.

No changes in the flutter/tests repo.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants