| Index: content/browser/accessibility/browser_accessibility.cc
|
| diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
|
| index 2aff1e7534ccaef9c7c872d9676b984ab51df600..1b2bf05c0c2220059677f58f0e966a793663abe5 100644
|
| --- a/content/browser/accessibility/browser_accessibility.cc
|
| +++ b/content/browser/accessibility/browser_accessibility.cc
|
| @@ -375,16 +375,6 @@ gfx::Rect BrowserAccessibility::GetPageBoundsRect() const {
|
| return RelativeToAbsoluteBounds(bounds, false);
|
| }
|
|
|
| -gfx::Rect BrowserAccessibility::GetScreenBoundsRect() const {
|
| - gfx::Rect bounds = GetPageBoundsRect();
|
| -
|
| - // Adjust the bounds by the top left corner of the containing view's bounds
|
| - // in screen coordinates.
|
| - bounds.Offset(manager_->GetViewBounds().OffsetFromOrigin());
|
| -
|
| - return bounds;
|
| -}
|
| -
|
| gfx::Rect BrowserAccessibility::GetPageBoundsForRange(int start, int len)
|
| const {
|
| DCHECK_GE(start, 0);
|
| @@ -1363,9 +1353,14 @@ gfx::NativeViewAccessible BrowserAccessibility::ChildAtIndex(int index) {
|
| return nullptr;
|
| }
|
|
|
| -gfx::Vector2d BrowserAccessibility::GetGlobalCoordinateOffset() {
|
| - NOTREACHED();
|
| - return gfx::Vector2d();
|
| +gfx::Rect BrowserAccessibility::GetScreenBoundsRect() const {
|
| + gfx::Rect bounds = GetPageBoundsRect();
|
| +
|
| + // Adjust the bounds by the top left corner of the containing view's bounds
|
| + // in screen coordinates.
|
| + bounds.Offset(manager_->GetViewBounds().OffsetFromOrigin());
|
| +
|
| + return bounds;
|
| }
|
|
|
| gfx::NativeViewAccessible BrowserAccessibility::HitTestSync(int x, int y) {
|
|
|