| Index: content/browser/accessibility/browser_accessibility.h
|
| diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
|
| index 09c80746072500b38aafd9deeb201ebd0e946291..675aa24eaab51fece9fb9aff6b153f4113cd2251 100644
|
| --- a/content/browser/accessibility/browser_accessibility.h
|
| +++ b/content/browser/accessibility/browser_accessibility.h
|
| @@ -162,6 +162,12 @@ class CONTENT_EXPORT BrowserAccessibility {
|
| // the role is WebAXRoleStaticText.
|
| gfx::Rect GetScreenBoundsForRange(int start, int len) const;
|
|
|
| + // Convert a bounding rectangle from this node's coordinate system
|
| + // (which is relative to its nearest scrollable ancestor) to
|
| + // absolute bounds, either in page coordinates (when |frameOnly| is
|
| + // false), or in frame coordinates (when |frameOnly| is true).
|
| + gfx::Rect RelativeToAbsoluteBounds(gfx::RectF bounds, bool frame_only) const;
|
| +
|
| // This is to handle the cases such as ARIA textbox, where the value should
|
| // be calculated from the object's inner text.
|
| virtual base::string16 GetValue() const;
|
| @@ -376,12 +382,6 @@ class CONTENT_EXPORT BrowserAccessibility {
|
| // correspond to a layed-out element sometimes don't have bounds.
|
| void FixEmptyBounds(gfx::RectF* bounds) const;
|
|
|
| - // Convert the bounding rectangle of an element (which is relative to
|
| - // its nearest scrollable ancestor) to absolute bounds, either in
|
| - // page coordinates (when |frameOnly| is false), or in frame coordinates
|
| - // (when |frameOnly| is true).
|
| - gfx::Rect RelativeToAbsoluteBounds(gfx::RectF bounds, bool frame_only) const;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
|
| };
|
|
|
|
|