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": "__MSG_CHROMEVOX_NAME__", | 6 "name": "__MSG_CHROMEVOX_NAME__", |
7 "version": "{{set_version}}", | 7 "version": "{{set_version}}", |
8 "description": "__MSG_CHROMEVOX_DESCRIPTION__", | 8 "description": "__MSG_CHROMEVOX_DESCRIPTION__", |
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 is_chromevox_classic == '1' %} |
| 14 "page": "chromevox/background/background.html" |
| 15 {% else %} |
13 "page": "cvox2/background/background.html" | 16 "page": "cvox2/background/background.html" |
| 17 {% endif %} |
14 }, | 18 }, |
15 "permissions": [ | 19 "permissions": [ |
16 "accessibilityPrivate", | 20 "accessibilityPrivate", |
17 "bookmarks", | 21 "bookmarks", |
18 "brailleDisplayPrivate", | 22 "brailleDisplayPrivate", |
19 "commands.accessibility", | 23 "commands.accessibility", |
20 "commandLinePrivate", | 24 "commandLinePrivate", |
21 "experimental", | 25 "experimental", |
22 "history", | 26 "history", |
23 "storage", | 27 "storage", |
(...skipping 21 matching lines...) Expand all Loading... |
45 {% endif %} | 49 {% endif %} |
46 ] | 50 ] |
47 } | 51 } |
48 ], | 52 ], |
49 "web_accessible_resources": [ | 53 "web_accessible_resources": [ |
50 "chromevox/injected/api.js", | 54 "chromevox/injected/api.js", |
51 "chromevox/injected/api_util.js", | 55 "chromevox/injected/api_util.js", |
52 "chromevox/injected/mathjax.js", | 56 "chromevox/injected/mathjax.js", |
53 "chromevox/injected/mathjax_external_util.js" | 57 "chromevox/injected/mathjax_external_util.js" |
54 ], | 58 ], |
| 59 {% if is_chromevox_classic == '0' %} |
55 "automation": { | 60 "automation": { |
56 "desktop": true | 61 "desktop": true |
57 }, | 62 }, |
58 {% if is_chromevox_classic == '0' %} | |
59 "commands": { | 63 "commands": { |
60 "nextElement": { | 64 "nextElement": { |
61 "description": "__MSG_CHROMEVOX_NEXT_OBJECT__", | 65 "description": "__MSG_CHROMEVOX_NEXT_OBJECT__", |
62 "suggested_key": { | 66 "suggested_key": { |
63 "chromeos": "Search+Right" | 67 "chromeos": "Search+Right" |
64 } | 68 } |
65 }, | 69 }, |
66 "previousElement": { | 70 "previousElement": { |
67 "description": "__MSG_CHROMEVOX_PREVIOUS_OBJECT__", | 71 "description": "__MSG_CHROMEVOX_PREVIOUS_OBJECT__", |
68 "suggested_key": { | 72 "suggested_key": { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "description": "__MSG_CHROMEVOX_READ_FROM_HERE__", | 161 "description": "__MSG_CHROMEVOX_READ_FROM_HERE__", |
158 "suggested_key": { | 162 "suggested_key": { |
159 "chromeos": "Search+R" | 163 "chromeos": "Search+R" |
160 } | 164 } |
161 } | 165 } |
162 }, | 166 }, |
163 {% endif %} | 167 {% endif %} |
164 "options_page": "chromevox/background/options.html", | 168 "options_page": "chromevox/background/options.html", |
165 "default_locale": "en" | 169 "default_locale": "en" |
166 } | 170 } |
OLD | NEW |