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

Unified Diff: content/renderer/accessibility/render_accessibility_impl.cc

Issue 2447773002: Use setSequentialFocusNavigationStartingPoint in ChromeVox (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: content/renderer/accessibility/render_accessibility_impl.cc
diff --git a/content/renderer/accessibility/render_accessibility_impl.cc b/content/renderer/accessibility/render_accessibility_impl.cc
index c8ff746c343028172a96d31e01314f7c64191829..f1ffd286fc0a0fd4d9da09a5dbf32f465a50a4bb 100644
--- a/content/renderer/accessibility/render_accessibility_impl.cc
+++ b/content/renderer/accessibility/render_accessibility_impl.cc
@@ -482,6 +482,9 @@ void RenderAccessibilityImpl::OnPerformAction(
anchor.setSelection(anchor, data.anchor_offset, focus, data.focus_offset);
HandleAXEvent(root, ui::AX_EVENT_LAYOUT_COMPLETE);
break;
+ case ui::AX_ACTION_SET_SEQUENTIAL_FOCUS_NAVIGATION_STARTING_POINT:
+ target.setSequentialFocusNavigationStartingPoint();
+ break;
case ui::AX_ACTION_SET_VALUE:
target.setValue(data.value);
HandleAXEvent(target, ui::AX_EVENT_VALUE_CHANGED);

Powered by Google App Engine
This is Rietveld 408576698