Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: ui/accessibility/platform/ax_platform_node_delegate.h

Issue 2795543002: Add GetScreenBoundsRect to ui::AXPlatformNodeDelegate (Closed)
Patch Set: Add GetScreenBoundsRect() to ui::AXPlatformNodeDelegate Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/platform/ax_platform_node_delegate.h
diff --git a/ui/accessibility/platform/ax_platform_node_delegate.h b/ui/accessibility/platform/ax_platform_node_delegate.h
index ab6de025a40029e5d3860cf762f47df9e7869d87..6960a4444e7f197317eead6e26a3a84c74405490 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -49,8 +49,8 @@ class AX_EXPORT AXPlatformNodeDelegate {
// Get the child of a node given a 0-based index.
virtual gfx::NativeViewAccessible ChildAtIndex(int index) = 0;
- // Get the offset to convert local coordinates to screen global coordinates.
- virtual gfx::Vector2d GetGlobalCoordinateOffset() = 0;
+ // Get the bounds of this node in screen coordinates.
+ virtual gfx::Rect GetScreenBoundsRect() const = 0;
// Do a *synchronous* hit test of the given location in global screen
// coordinates, and the node within this node's subtree (inclusive) that's

Powered by Google App Engine
This is Rietveld 408576698