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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js

Issue 2479893002: Revert of Use setSequentialFocusNavigationStartingPoint in ChromeVox (Closed)
Patch Set: Created 4 years, 1 month 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: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
index a9b70e4eb34e730a9d23469d51ed4ede8ce8b634..76a901891b599094885f44098c624d00fda7cefd 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
@@ -100,37 +100,10 @@
],
anyRole: [
Role.checkBox,
- Role.colorWell,
Role.listBox,
Role.slider,
- Role.switch,
+ Role.tab,
Role.tree
- ]
-});
-
-/** @type {AutomationPredicate.Unary} */
-AutomationPredicate.control = AutomationPredicate.match({
- anyPredicate: [
- AutomationPredicate.formField,
- ],
- anyRole: [
- Role.disclosureTriangle,
- Role.menuItem,
- Role.menuItemCheckBox,
- Role.menuItemRadio,
- Role.menuListOption,
- Role.scrollBar,
- Role.tab
- ]
-});
-
-/** @type {AutomationPredicate.Unary} */
-AutomationPredicate.linkOrControl = AutomationPredicate.match({
- anyPredicate: [
- AutomationPredicate.control
- ],
- anyRole: [
- Role.link
]
});

Powered by Google App Engine
This is Rietveld 408576698