Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: content/browser/accessibility/browser_accessibility.h

Issue 2191833003: Use text affinity to return correct accessible line boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug in browser_accessibility_win.cc Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 18e6354547380c1570def5d0acd2f8c5d6e46f55..a72e562975e15ae7d60dde26bfa821877389d4bb 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -166,7 +166,8 @@ class CONTENT_EXPORT BrowserAccessibility {
// Starting at the given character offset, locates the start of the next or
// previous line and returns its character offset.
int GetLineStartBoundary(int start,
- ui::TextBoundaryDirection direction) const;
+ ui::TextBoundaryDirection direction,
+ ui::AXTextAffinity affinity) const;
// Starting at the given character offset, locates the start of the next or
// previous word and returns its character offset.
« no previous file with comments | « components/test_runner/web_ax_object_proxy.cc ('k') | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698