Flutter Engine
flutter_runner_test::AccessibilityBridgeTestDelegate Class Reference
Inheritance diagram for flutter_runner_test::AccessibilityBridgeTestDelegate:
flutter_runner::AccessibilityBridge::Delegate

Public Member Functions

void SetSemanticsEnabled (bool enabled) override
 
void DispatchSemanticsAction (int32_t node_id, flutter::SemanticsAction action) override
 
bool enabled ()
 

Public Attributes

std::vector< std::pair< int32_t, flutter::SemanticsAction > > actions
 

Detailed Description

Definition at line 36 of file accessibility_bridge_unittest.cc.

Member Function Documentation

◆ DispatchSemanticsAction()

void flutter_runner_test::AccessibilityBridgeTestDelegate::DispatchSemanticsAction ( int32_t  node_id,
flutter::SemanticsAction  action 
)
inlineoverridevirtual

Implements flutter_runner::AccessibilityBridge::Delegate.

Definition at line 40 of file accessibility_bridge_unittest.cc.

References actions.

41  {
42  actions.push_back(std::make_pair(node_id, action));
43  }
SemanticsAction action
std::vector< std::pair< int32_t, flutter::SemanticsAction > > actions

◆ enabled()

bool flutter_runner_test::AccessibilityBridgeTestDelegate::enabled ( )
inline

Definition at line 45 of file accessibility_bridge_unittest.cc.

Referenced by SetSemanticsEnabled().

45 { return enabled_; }

◆ SetSemanticsEnabled()

void flutter_runner_test::AccessibilityBridgeTestDelegate::SetSemanticsEnabled ( bool  enabled)
inlineoverridevirtual

Member Data Documentation

◆ actions

std::vector<std::pair<int32_t, flutter::SemanticsAction> > flutter_runner_test::AccessibilityBridgeTestDelegate::actions

Definition at line 46 of file accessibility_bridge_unittest.cc.

Referenced by DispatchSemanticsAction().


The documentation for this class was generated from the following file: