| Index: content/browser/accessibility/browser_accessibility.h
|
| diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
|
| index 6318e64b53d57043757c69a01388ca5c0e63c35f..447ec158fa3d1d8c0ff6b86b410214c3fa8158b5 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)
|
| @@ -112,6 +116,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);
|
|
|