Commit 6cd3b230 authored by dtseng's avatar dtseng Committed by Commit bot

Fix webstore extension reading in views.

Reading of views is now handled using ChromeVox Next with the automation API. The current Next background page fails on non-CROS because there's no commands block. We get an error like
getAll called on undefined.

(chrome.commands is undefined).

TEST=manually build ChromeVox; verify views reads properly.

Review URL: https://codereview.chromium.org/1138773006

Cr-Commit-Position: refs/heads/master@{#330249}
parent 3104ff6d
...@@ -55,8 +55,8 @@ ...@@ -55,8 +55,8 @@
"automation": { "automation": {
"desktop": true "desktop": true
}, },
{% if is_chromevox_classic == '0' %}
"commands": { "commands": {
{% if is_chromevox_classic == '0' %}
"nextElement": { "nextElement": {
"description": "__MSG_CHROMEVOX_NEXT_OBJECT__", "description": "__MSG_CHROMEVOX_NEXT_OBJECT__",
"suggested_key": { "suggested_key": {
...@@ -279,8 +279,8 @@ ...@@ -279,8 +279,8 @@
"chromeos": "Search+Shift+R" "chromeos": "Search+Shift+R"
} }
} }
},
{% endif %} {% endif %}
},
"options_page": "chromevox/background/options.html", "options_page": "chromevox/background/options.html",
"default_locale": "en" "default_locale": "en"
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment