Flutter Engine
flutter_runner_test::AccessibilityBridgeTestDelegate Class Reference

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 43 of file accessibility_bridge_unittest.cc.

Member Function Documentation

◆ DispatchSemanticsAction()

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

Definition at line 46 of file accessibility_bridge_unittest.cc.

References actions.

47  {
48  actions.push_back(std::make_pair(node_id, action));
49  }
SemanticsAction action
std::vector< std::pair< int32_t, flutter::SemanticsAction > > actions

◆ enabled()

bool flutter_runner_test::AccessibilityBridgeTestDelegate::enabled ( )
inline

Definition at line 51 of file accessibility_bridge_unittest.cc.

Referenced by SetSemanticsEnabled(), and flutter_runner_test::AccessibilityBridgeTest::SetUp().

51 { return enabled_; }

◆ SetSemanticsEnabled()

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

Member Data Documentation

◆ actions

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

Definition at line 52 of file accessibility_bridge_unittest.cc.

Referenced by DispatchSemanticsAction().


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