Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More doc
  • Loading branch information
dkwingsmt committed Nov 3, 2022
commit 05a7fcd3e49fb61aa173623aeb140fc78abc67a8
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
@end

@interface FlutterEngine (TestMethods)
/* Creates an accessibility bridge with the provided parameters.
*
* By default this method calls AccessibilityBridgeMac's initializer. Exposing
* this method allows unit tests to override in order to capture information.
*/
- (std::shared_ptr<flutter::AccessibilityBridgeMac>)
createAccessibilityBridge:(nonnull FlutterEngine*)engine
viewController:(nonnull FlutterViewController*)viewController;
Expand Down
3 changes: 2 additions & 1 deletion shell/platform/windows/flutter_windows_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ class FlutterWindowsEngine {
protected:
// Creates an accessibility bridge with the provided parameters.
//
// This method allows unit tests to override in order to capture information.
// By default this method calls AccessibilityBridge's constructor. Exposing
// this method allows unit tests to override in order to capture information.
virtual std::shared_ptr<AccessibilityBridge> CreateAccessibilityBridge(
FlutterWindowsEngine* engine,
FlutterWindowsView* view);
Expand Down