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

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

Issue 2795543002: Add GetScreenBoundsRect to ui::AXPlatformNodeDelegate (Closed)
Patch Set: Created 3 years, 9 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 3dfe1d7f965e3448762fb8e47d5213ae9a4f0b06..47d92e0040d3bdb95e475c141bfe0875f31e29d0 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -52,6 +52,9 @@ class AX_EXPORT AXPlatformNodeDelegate {
// Get the offset to convert local coordinates to screen global coordinates.
virtual gfx::Vector2d GetGlobalCoordinateOffset() = 0;
dmazzoni 2017/04/03 05:19:56 Please get rid of GetGlobalCoordinateOffset now, w
+ // 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
// hit, if any.
« no previous file with comments | « content/browser/accessibility/browser_accessibility_win.h ('k') | ui/accessibility/platform/test_ax_node_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698