OLD | NEW |
1 { | 1 { |
2 {%if key is defined %} | 2 {%if key is defined %} |
3 "key": "{{key}}", | 3 "key": "{{key}}", |
4 {% endif %} | 4 {% endif %} |
5 "manifest_version": 2, | 5 "manifest_version": 2, |
6 "name": "ChromeVox", | 6 "name": "ChromeVox", |
7 "version": "{{set_version}}", | 7 "version": "{{set_version}}", |
8 "description": "ChromeVox - Giving Voice to Chrome.", | 8 "description": "ChromeVox - Giving Voice to Chrome.", |
9 {% if is_guest_manifest == '1' %} | 9 {% if is_guest_manifest == '1' %} |
10 "incognito": "split", | 10 "incognito": "split", |
11 {% endif %} | 11 {% endif %} |
12 "background": { | 12 "background": { |
13 {% if use_chromevox_next == '1' %} | 13 {% if is_chromevox_next == '1' %} |
14 "page": "cvox2/background/background.html" | 14 "page": "cvox2/background/background.html" |
15 {% else %} | 15 {% else %} |
16 "page": "chromevox/background/background.html" | 16 "page": "chromevox/background/background.html" |
17 {% endif %} | 17 {% endif %} |
18 }, | 18 }, |
19 "permissions": [ | 19 "permissions": [ |
20 "accessibilityPrivate", | 20 "accessibilityPrivate", |
21 "bookmarks", | 21 "bookmarks", |
22 "brailleDisplayPrivate", | 22 "brailleDisplayPrivate", |
23 {% if use_chromevox_next == '1' %} | 23 {% if is_chromevox_next == '1' %} |
24 "commands.accessibility", | 24 "commands.accessibility", |
25 {% endif %} | 25 {% endif %} |
26 "commandLinePrivate", | 26 "commandLinePrivate", |
27 "experimental", | 27 "experimental", |
28 "history", | 28 "history", |
29 "storage", | 29 "storage", |
30 "systemPrivate", | 30 "systemPrivate", |
31 "tabs", | 31 "tabs", |
32 "tts", | 32 "tts", |
33 "virtualKeyboardPrivate", | 33 "virtualKeyboardPrivate", |
34 "<all_urls>" | 34 "<all_urls>" |
35 ], | 35 ], |
36 {% if use_chromevox_next == '0' %} | 36 {% if is_chromevox_next == '0' %} |
37 "content_scripts": [ | 37 "content_scripts": [ |
38 { | 38 { |
39 "matches": [ "<all_urls>" ], | 39 "matches": [ "<all_urls>" ], |
40 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch
romevox/background/background.html" ], | 40 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch
romevox/background/background.html" ], |
41 "all_frames": true, | 41 "all_frames": true, |
42 "js": [ | 42 "js": [ |
| 43 {% if is_js_compressed == '1' %} |
43 "chromeVoxChromePageScript.js" | 44 "chromeVoxChromePageScript.js" |
| 45 {% else %} |
| 46 "closure/closure_preinit.js", |
| 47 "closure/base.js", |
| 48 "deps.js", |
| 49 "chromevox/injected/loader.js" |
| 50 {% endif %} |
44 ] | 51 ] |
45 } | 52 } |
46 ], | 53 ], |
47 {% endif %} | 54 {% endif %} |
48 "web_accessible_resources": [ | 55 "web_accessible_resources": [ |
49 "chromevox/injected/api.js", | 56 "chromevox/injected/api.js", |
50 "chromevox/injected/api_util.js", | 57 "chromevox/injected/api_util.js", |
51 "chromevox/injected/mathjax.js", | 58 "chromevox/injected/mathjax.js", |
52 "chromevox/injected/mathjax_external_util.js" | 59 "chromevox/injected/mathjax_external_util.js" |
53 ], | 60 ], |
54 {% if use_chromevox_next == '1' %} | 61 {% if is_chromevox_next == '1' %} |
55 "automation": { | 62 "automation": { |
56 "desktop": true | 63 "desktop": true |
57 }, | 64 }, |
58 "commands": { | 65 "commands": { |
59 "nextElement": { | 66 "nextElement": { |
60 "description": "Moves to the next element", | 67 "description": "Moves to the next element", |
61 "suggested_key": { | 68 "suggested_key": { |
62 "chromeos": "Search+Right" | 69 "chromeos": "Search+Right" |
63 } | 70 } |
64 }, | 71 }, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 "description": "__MSG_CHROMEVOX_TOGGLE_CHROMEVOX__", | 127 "description": "__MSG_CHROMEVOX_TOGGLE_CHROMEVOX__", |
121 "suggested_key": { | 128 "suggested_key": { |
122 "chromeos": "Search+Ctrl+Q" | 129 "chromeos": "Search+Ctrl+Q" |
123 } | 130 } |
124 } | 131 } |
125 }, | 132 }, |
126 {% endif %} | 133 {% endif %} |
127 "options_page": "chromevox/background/options.html", | 134 "options_page": "chromevox/background/options.html", |
128 "default_locale": "en" | 135 "default_locale": "en" |
129 } | 136 } |
OLD | NEW |