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

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

Issue 1195223006: Reports the position of the caret and current selection in content editables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased with master. Created 5 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 17297baa6b72aa6380bb2d91c4e58767e5e99763..2442bf1ae592face2acabbbd9cd6b5194c3d89f0 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -67,7 +67,7 @@ class CONTENT_EXPORT BrowserAccessibility {
virtual void OnLocationChanged() {}
// Return true if this object is equal to or a descendant of |ancestor|.
- bool IsDescendantOf(BrowserAccessibility* ancestor);
+ bool IsDescendantOf(const BrowserAccessibility* ancestor) const;
// Returns true if this is a leaf node on this platform, meaning any
// children should not be exposed to this platform's native accessibility

Powered by Google App Engine
This is Rietveld 408576698