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

Unified Diff: chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2

Issue 656813002: Support running ChromeVox in uncompressed mode and compress ChromeVox next by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Address nits. Created 6 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: chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2
diff --git a/chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2 b/chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2
index 5fe24adbca9d46c05b184fc652a33b645a7112c8..8466bcb88a412e3833da8172bf96d23c550273ea 100644
--- a/chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2
+++ b/chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2
@@ -10,7 +10,7 @@
"incognito": "split",
{% endif %}
"background": {
-{% if use_chromevox_next == '1' %}
+{% if is_chromevox_next == '1' %}
"page": "cvox2/background/background.html"
{% else %}
"page": "chromevox/background/background.html"
@@ -20,7 +20,7 @@
"accessibilityPrivate",
"bookmarks",
"brailleDisplayPrivate",
-{% if use_chromevox_next == '1' %}
+{% if is_chromevox_next == '1' %}
"commands.accessibility",
{% endif %}
"commandLinePrivate",
@@ -33,25 +33,32 @@
"virtualKeyboardPrivate",
"<all_urls>"
],
-{% if use_chromevox_next == '0' %}
+{% if is_chromevox_next == '0' %}
"content_scripts": [
{
"matches": [ "<all_urls>" ],
"exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/chromevox/background/background.html" ],
"all_frames": true,
"js": [
+{% if is_js_compressed == '1' %}
"chromeVoxChromePageScript.js"
+{% else %}
+ "closure/closure_preinit.js",
+ "closure/base.js",
+ "deps.js",
+ "chromevox/injected/loader.js"
+{% endif %}
]
}
],
{% endif %}
-"web_accessible_resources": [
+ "web_accessible_resources": [
"chromevox/injected/api.js",
"chromevox/injected/api_util.js",
"chromevox/injected/mathjax.js",
"chromevox/injected/mathjax_external_util.js"
],
-{% if use_chromevox_next == '1' %}
+{% if is_chromevox_next == '1' %}
"automation": {
"desktop": true
},

Powered by Google App Engine
This is Rietveld 408576698