Chromium Code Reviews| 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. |