| Index: content/browser/accessibility/browser_accessibility.h
|
| diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
|
| index 844d3cc25e0a9f71c1ea5183e06cbd892becc218..b875be67c8b71f9c723cc8f6eb7c43713925b4c9 100644
|
| --- a/content/browser/accessibility/browser_accessibility.h
|
| +++ b/content/browser/accessibility/browser_accessibility.h
|
| @@ -22,6 +22,10 @@
|
| @class BrowserAccessibilityCocoa;
|
| #endif
|
|
|
| +namespace ui {
|
| +enum TextBoundaryDirection;
|
| +}
|
| +
|
| namespace content {
|
| class BrowserAccessibilityManager;
|
| #if defined(OS_WIN)
|
| @@ -111,6 +115,11 @@ class CONTENT_EXPORT BrowserAccessibility {
|
| // the role is WebAXRoleStaticText.
|
| gfx::Rect GetGlobalBoundsForRange(int start, int len) const;
|
|
|
| + // Searches in the given text and from the given offset until the start of
|
| + // the next or previous word is found and returns its position.
|
| + int GetWordStartBoundary(
|
| + int start, ui::TextBoundaryDirection direction) const;
|
| +
|
| // Returns the deepest descendant that contains the specified point
|
| // (in global screen coordinates).
|
| BrowserAccessibility* BrowserAccessibilityForPoint(const gfx::Point& point);
|
|
|