Flutter Engine
The Flutter Engine
Public Member Functions | Protected Member Functions | List of all members
ui::AXActionHandlerBase Class Referenceabstract

#include <ax_action_handler_base.h>

Inheritance diagram for ui::AXActionHandlerBase:
ui::AXActionHandler

Public Member Functions

virtual ~AXActionHandlerBase ()
 
virtual void PerformAction (const AXActionData &data)=0
 
virtual bool RequiresPerformActionPointInPixels () const
 
const AXTreeIDax_tree_id () const
 

Protected Member Functions

 AXActionHandlerBase ()
 
 AXActionHandlerBase (const AXTreeID &ax_tree_id)
 
void SetAXTreeID (AXTreeID new_ax_tree_id)
 

Detailed Description

Definition at line 23 of file ax_action_handler_base.h.

Constructor & Destructor Documentation

◆ ~AXActionHandlerBase()

ui::AXActionHandlerBase::~AXActionHandlerBase ( )
virtual

Definition at line 22 of file ax_action_handler_base.cc.

22 {
24}
void RemoveAXTreeID(AXTreeID ax_tree_id)
static AXTreeIDRegistry & GetInstance()

◆ AXActionHandlerBase() [1/2]

ui::AXActionHandlerBase::AXActionHandlerBase ( )
protected

Definition at line 16 of file ax_action_handler_base.cc.

◆ AXActionHandlerBase() [2/2]

ui::AXActionHandlerBase::AXActionHandlerBase ( const AXTreeID ax_tree_id)
explicitprotected

Definition at line 19 of file ax_action_handler_base.cc.

20 : tree_id_(ax_tree_id) {}
const AXTreeID & ax_tree_id() const

Member Function Documentation

◆ ax_tree_id()

const AXTreeID & ui::AXActionHandlerBase::ax_tree_id ( ) const
inline

Definition at line 36 of file ax_action_handler_base.h.

36{ return tree_id_; }

◆ PerformAction()

virtual void ui::AXActionHandlerBase::PerformAction ( const AXActionData data)
pure virtual

◆ RequiresPerformActionPointInPixels()

bool ui::AXActionHandlerBase::RequiresPerformActionPointInPixels ( ) const
virtual

Definition at line 12 of file ax_action_handler_base.cc.

12 {
13 return false;
14}

◆ SetAXTreeID()

void ui::AXActionHandlerBase::SetAXTreeID ( AXTreeID  new_ax_tree_id)
protected

Definition at line 26 of file ax_action_handler_base.cc.

26 {
27 BASE_DCHECK(new_ax_tree_id != ui::AXTreeIDUnknown());
29 tree_id_ = new_ax_tree_id;
30 AXTreeIDRegistry::GetInstance().SetAXTreeID(tree_id_, this);
31}
#define BASE_DCHECK(condition)
Definition: logging.h:63

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