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

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: Added unit tests. 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 27f6a74c8b2f0919b13b15aae19f6a4ed4cec720..106221915eb636d2e8bd49f2a9bc14ced7c38364 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -65,7 +65,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