 Chromium Code Reviews
 Chromium Code Reviews Issue 2795543002:
  Add GetScreenBoundsRect to ui::AXPlatformNodeDelegate  (Closed)
    
  
    Issue 2795543002:
  Add GetScreenBoundsRect to ui::AXPlatformNodeDelegate  (Closed) 
  | Index: ui/views/accessibility/native_view_accessibility_base.cc | 
| diff --git a/ui/views/accessibility/native_view_accessibility_base.cc b/ui/views/accessibility/native_view_accessibility_base.cc | 
| index 524419bcb8df0948469cf16e36023dbad0791d62..aea49b1234fe45fd48142842f8fa9590bfb4efd5 100644 | 
| --- a/ui/views/accessibility/native_view_accessibility_base.cc | 
| +++ b/ui/views/accessibility/native_view_accessibility_base.cc | 
| @@ -122,8 +122,9 @@ gfx::NativeViewAccessible NativeViewAccessibilityBase::GetParent() { | 
| return nullptr; | 
| } | 
| -gfx::Vector2d NativeViewAccessibilityBase::GetGlobalCoordinateOffset() { | 
| - return gfx::Vector2d(0, 0); // location is already in screen coordinates. | 
| +gfx::Rect NativeViewAccessibilityBase::GetScreenBoundsRect() const { | 
| + // location is already in screen coordinates. | 
| 
dmazzoni
2017/04/04 15:05:19
This is supposed to return those coordinates, thou
 | 
| + return gfx::Rect(0, 0, 0, 0); | 
| } | 
| gfx::NativeViewAccessible NativeViewAccessibilityBase::HitTestSync(int x, |