-
Notifications
You must be signed in to change notification settings - Fork 6k
Move ownership of AccessibilityBridgeWindows
to FlutterWindowsView
#41308
Move ownership of AccessibilityBridgeWindows
to FlutterWindowsView
#41308
Conversation
@@ -200,10 +201,18 @@ class FlutterWindowsView : public WindowBindingHandlerDelegate, | |||
// |WindowBindingHandlerDelegate| | |||
virtual ui::AXFragmentRootDelegateWin* GetAxFragmentRootDelegate() override; | |||
|
|||
// Called to re/set the accessibility bridge pointer. | |||
virtual void UpdateSemanticsEnabled(bool enabled); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content of this new method could have instead been placed in OnUpdateSemanticsEnabled
, which is what calls FlutterWindowsEngine::UpdateSemanticsEnabled
. However, once we have multiple views, a call to OnUpdateSemanticsEnabled
on a view would not necessarily call it for other views.
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
shell/platform/windows/accessibility_bridge_windows_unittests.cc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
…125271) flutter/engine@2db85cb...122c3b3 2023-04-21 737941+loic-sharma@users.noreply.github.com [Windows] Don't block raster thread until v-blank (flutter/engine#41231) 2023-04-21 chillers@google.com Manual roll skia to d5b4acfb4 (flutter/engine#41378) 2023-04-21 magder@google.com Run mac unopt arm builds with arm toolchain (flutter/engine#41353) 2023-04-20 zanderso@users.noreply.github.com Revert "re-land "Migrate mac_host_engine to engine v2 builds." (#41233)"" (flutter/engine#41380) 2023-04-20 skia-flutter-autoroll@skia.org Roll Dart SDK from df05e451b79a to 50b96abe9f6f (1 revision) (flutter/engine#41379) 2023-04-20 109111084+yaakovschectman@users.noreply.github.com Move ownership of `AccessibilityBridgeWindows` to `FlutterWindowsView` (flutter/engine#41308) 2023-04-20 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from AoPEjX8Xfq1v0h4kx... to PqBDstaESE_l77k1e... (flutter/engine#41373) 2023-04-20 godofredoc@google.com Revert "Upload windows arm artifacts to production bucket." (flutter/engine#41372) 2023-04-20 godofredoc@google.com re-land "Migrate mac_host_engine to engine v2 builds." (#41233)" (flutter/engine#41323) 2023-04-20 godofredoc@google.com Upload windows arm artifacts to production bucket. (flutter/engine#41324) 2023-04-20 jason-simmons@users.noreply.github.com [Impeller] Change the default color format for the GLES backend to RGBA (flutter/engine#41342) 2023-04-20 maRci002@users.noreply.github.com [web] change status bar color based on SystemUiOverlayStyle (flutter/engine#40599) 2023-04-20 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from OcPCdaE17MAihaCrD... to 4OrPF9lzqCKGwBLRh... (flutter/engine#41367) 2023-04-20 skia-flutter-autoroll@skia.org Roll Skia from fc09f9b2fb27 to f4609aa2eaba (1 revision) (flutter/engine#41366) 2023-04-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 7d165bd0bb5e to df05e451b79a (2 revisions) (flutter/engine#41365) 2023-04-20 skia-flutter-autoroll@skia.org Roll Skia from 80c38970791e to fc09f9b2fb27 (1 revision) (flutter/engine#41362) 2023-04-20 skia-flutter-autoroll@skia.org Roll Skia from c50081c62219 to 80c38970791e (2 revisions) (flutter/engine#41360) 2023-04-20 skia-flutter-autoroll@skia.org Roll Skia from c21e7df194c3 to c50081c62219 (11 revisions) (flutter/engine#41358) 2023-04-20 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from Tun7i4VLz6ncx8JJJ... to AoPEjX8Xfq1v0h4kx... (flutter/engine#41357) 2023-04-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 88a3b66b50d6 to 7d165bd0bb5e (1 revision) (flutter/engine#41356) 2023-04-20 jason-simmons@users.noreply.github.com Manual Skia roll from ad90b6bd4760 to c21e7df194c3 (flutter/engine#41341) 2023-04-20 jonahwilliams@google.com [impeller] convert src over to src for solid color (flutter/engine#41351) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from Tun7i4VLz6nc to PqBDstaESE_l fuchsia/sdk/core/mac-amd64 from OcPCdaE17MAi to 4OrPF9lzqCKG If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
The ownership of the accessibility bridge was moved from `FlutterWindowsEngine` to `FlutterWindowsView`. This change moves leftover accessibility bridge helpers/logic from the engine to the view. Addresses: flutter/flutter#124995 Follow-up to: #41308 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
…r#43710) The ownership of the accessibility bridge was moved from `FlutterWindowsEngine` to `FlutterWindowsView`. This change moves leftover accessibility bridge helpers/logic from the engine to the view. Addresses: flutter/flutter#124995 Follow-up to: flutter#41308 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Move ownership of the pointer to
AccessibilityBridgeWindows
fromFlutterWindowsEngine
toFlutterWindowsView
in preparation for multi-window.flutter/flutter#124995
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.