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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.cpp

Issue 2436563003: Expose setSequentialFocusNavigationStartingPoint to accessibility. (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/modules/accessibility/AXObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
index dd2017fded7c49e8942b151ffbe504aa0bd03041..9ef76f4da0e7db9d9e9c47f7892973edc0347f13 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
@@ -1566,6 +1566,13 @@ void AXObject::scrollToGlobalPoint(const IntPoint& globalPoint) const {
}
}
+void AXObject::setSequentialFocusNavigationStartingPoint() {
+ // Call it on the nearest ancestor that overrides this with a specific
+ // implementation.
+ if (parentObject())
+ parentObject()->setSequentialFocusNavigationStartingPoint();
+}
+
void AXObject::notifyIfIgnoredValueChanged() {
bool isIgnored = accessibilityIsIgnored();
if (lastKnownIsIgnoredValue() != isIgnored) {
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.h ('k') | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698