Index: content/browser/accessibility/browser_accessibility_win.h |
diff --git a/content/browser/accessibility/browser_accessibility_win.h b/content/browser/accessibility/browser_accessibility_win.h |
index 1f47d7af4c158a52478bbe5fa7c9c34c40fdd9b0..a885c511c8fc386a35c165af797952b5297d2c2c 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.h |
+++ b/content/browser/accessibility/browser_accessibility_win.h |
@@ -833,6 +833,12 @@ BrowserAccessibilityWin |
LONG start_offset, |
ui::TextBoundaryDirection direction); |
+ // 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. |
+ LONG FindWordStartBoundary(const base::string16& text, |
+ LONG start_offset, |
+ ui::TextBoundaryDirection direction); |
+ |
// Return a pointer to the object corresponding to the given id, |
// does not make a new reference. |
BrowserAccessibilityWin* GetFromID(int32 id); |