| Index: content/browser/accessibility/browser_accessibility.h
|
| diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
|
| index e8a7d387d31407d42f3304e4591caa2f4b98c383..7db0a2b3c82088fc70102e753f1cbb239908809c 100644
|
| --- a/content/browser/accessibility/browser_accessibility.h
|
| +++ b/content/browser/accessibility/browser_accessibility.h
|
| @@ -273,6 +273,11 @@ class CONTENT_EXPORT BrowserAccessibility {
|
| // bounds offsets.
|
| BrowserAccessibility* GetParentForBoundsCalculation() const;
|
|
|
| + // Convert the bounding rectangle of an element (which is relative to
|
| + // its nearest scrollable ancestor) to local bounds (which are relative
|
| + // to the top of the web accessibility tree).
|
| + gfx::Rect ElementBoundsToLocalBounds(gfx::Rect bounds) const;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
|
| };
|
|
|
|
|