Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
ui::AXRangePhysicalPixelRectDelegate Class Reference
Inheritance diagram for ui::AXRangePhysicalPixelRectDelegate:
ui::AXRangeRectDelegate

Public Member Functions

 AXRangePhysicalPixelRectDelegate (AXPlatformNodeTextRangeProviderWin *host)
 
gfx::Rect GetInnerTextRangeBoundsRect (AXTreeID tree_id, AXNode::AXID node_id, int start_offset, int end_offset, ui::AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result) override
 
gfx::Rect GetBoundsRect (AXTreeID tree_id, AXNode::AXID node_id, AXOffscreenResult *offscreen_result) override
 
virtual gfx::Rect GetInnerTextRangeBoundsRect (AXTreeID tree_id, AXNode::AXID node_id, int start_offset, int end_offset, ui::AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result)=0
 
virtual gfx::Rect GetBoundsRect (AXTreeID tree_id, AXNode::AXID node_id, AXOffscreenResult *offscreen_result)=0
 

Detailed Description

Definition at line 60 of file ax_platform_node_textrangeprovider_win.cc.

Constructor & Destructor Documentation

◆ AXRangePhysicalPixelRectDelegate()

ui::AXRangePhysicalPixelRectDelegate::AXRangePhysicalPixelRectDelegate ( AXPlatformNodeTextRangeProviderWin *  host)
inlineexplicit

Definition at line 62 of file ax_platform_node_textrangeprovider_win.cc.

64 : host_(host) {}
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service host
Definition: switches.h:74

Member Function Documentation

◆ GetBoundsRect()

gfx::Rect ui::AXRangePhysicalPixelRectDelegate::GetBoundsRect ( AXTreeID  tree_id,
AXNode::AXID  node_id,
AXOffscreenResult offscreen_result 
)
inlineoverridevirtual

Implements ui::AXRangeRectDelegate.

Definition at line 80 of file ax_platform_node_textrangeprovider_win.cc.

82 {
83 AXPlatformNodeDelegate* delegate = host_->GetDelegate(tree_id, node_id);
84 BASE_DCHECK(delegate);
85 return delegate->GetBoundsRect(
87 ui::AXClippingBehavior::kClipped, offscreen_result);
88 }
#define BASE_DCHECK(condition)
Definition: logging.h:63

◆ GetInnerTextRangeBoundsRect()

gfx::Rect ui::AXRangePhysicalPixelRectDelegate::GetInnerTextRangeBoundsRect ( AXTreeID  tree_id,
AXNode::AXID  node_id,
int  start_offset,
int  end_offset,
ui::AXClippingBehavior  clipping_behavior,
AXOffscreenResult offscreen_result 
)
inlineoverridevirtual

Implements ui::AXRangeRectDelegate.

Definition at line 66 of file ax_platform_node_textrangeprovider_win.cc.

72 {
73 AXPlatformNodeDelegate* delegate = host_->GetDelegate(tree_id, node_id);
74 BASE_DCHECK(delegate);
75 return delegate->GetInnerTextRangeBoundsRect(
76 start_offset, end_offset, ui::AXCoordinateSystem::kScreenPhysicalPixels,
77 clipping_behavior, offscreen_result);
78 }

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