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 |
}, |