| Index: content/browser/accessibility/browser_accessibility.cc
|
| diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
|
| index 8583ed1ca6c15ac0aa676037ab5ab2a77315d762..8cf0150dad9cb915e0afd9d3597c39659385fa11 100644
|
| --- a/content/browser/accessibility/browser_accessibility.cc
|
| +++ b/content/browser/accessibility/browser_accessibility.cc
|
| @@ -374,16 +374,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);
|
| @@ -1259,6 +1249,16 @@ gfx::Vector2d BrowserAccessibility::GetGlobalCoordinateOffset() {
|
| 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) {
|
| NOTREACHED();
|
| return nullptr;
|
|
|