#include <test_ax_node_helper.h>
Public Member Functions | |
| ~TestAXNodeHelper () | |
| gfx::Rect | GetBoundsRect (const AXCoordinateSystem coordinate_system, const AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result) const |
| gfx::Rect | GetInnerTextRangeBoundsRect (const int start_offset, const int end_offset, const AXCoordinateSystem coordinate_system, const AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result) const |
Static Public Member Functions | |
| static TestAXNodeHelper * | GetOrCreate (AXTree *tree, AXNode *node) |
Definition at line 18 of file test_ax_node_helper.h.
|
default |
| gfx::Rect ui::TestAXNodeHelper::GetBoundsRect | ( | const AXCoordinateSystem | coordinate_system, |
| const AXClippingBehavior | clipping_behavior, | ||
| AXOffscreenResult * | offscreen_result | ||
| ) | const |
Definition at line 62 of file test_ax_node_helper.cc.
References BASE_UNREACHABLE, ui::kFrame, ui::kRootFrame, ui::kScreenDIPs, ui::kScreenPhysicalPixels, and gfx::ToEnclosingRect().
| gfx::Rect ui::TestAXNodeHelper::GetInnerTextRangeBoundsRect | ( | const int | start_offset, |
| const int | end_offset, | ||
| const AXCoordinateSystem | coordinate_system, | ||
| const AXClippingBehavior | clipping_behavior, | ||
| AXOffscreenResult * | offscreen_result | ||
| ) | const |
Definition at line 90 of file test_ax_node_helper.cc.
References BASE_UNREACHABLE, ui::kFrame, ax::mojom::kInlineTextBox, ui::kRootFrame, ui::kScreenDIPs, ui::kScreenPhysicalPixels, ax::mojom::kStaticText, ui::AXNodeData::role, and gfx::ToEnclosingRect().
|
static |
Definition at line 43 of file test_ax_node_helper.cc.
References ui::AXTree::AddObserver(), ui::AXTree::HasObserver(), and ui::AXNode::id().