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 use_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' %} | |
24 "commands.accessibility", | |
Peter Lundblad
2014/09/09 12:03:54
nit: indent
| |
25 {% endif %} | |
23 "commandLinePrivate", | 26 "commandLinePrivate", |
24 "experimental", | 27 "experimental", |
25 "history", | 28 "history", |
26 "storage", | 29 "storage", |
27 "systemPrivate", | 30 "systemPrivate", |
28 "tabs", | 31 "tabs", |
29 "tts", | 32 "tts", |
30 "virtualKeyboardPrivate", | 33 "virtualKeyboardPrivate", |
31 "<all_urls>" | 34 "<all_urls>" |
32 ], | 35 ], |
33 "content_scripts": [ | 36 "content_scripts": [ |
34 { | 37 { |
35 "matches": [ "<all_urls>" ], | 38 "matches": [ "<all_urls>" ], |
36 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch romevox/background/background.html" ], | 39 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch romevox/background/background.html" ], |
37 "all_frames": true, | 40 "all_frames": true, |
38 "js": [ | 41 "js": [ |
39 {% if use_chromevox_next == '1' %} | |
40 "closure/closure_preinit.js", | |
41 "closure/base.js", | |
42 "deps.js", | |
43 "cvox2/injected/loader.js" | |
44 {% else %} | |
45 "chromeVoxChromePageScript.js" | 42 "chromeVoxChromePageScript.js" |
46 {% endif %} | |
47 ] | 43 ] |
48 } | 44 } |
49 ], | 45 ], |
50 "web_accessible_resources": [ | 46 "web_accessible_resources": [ |
51 "chromevox/injected/api.js", | 47 "chromevox/injected/api.js", |
52 "chromevox/injected/api_util.js", | 48 "chromevox/injected/api_util.js", |
53 "chromevox/injected/mathjax.js", | 49 "chromevox/injected/mathjax.js", |
54 "chromevox/injected/mathjax_external_util.js" | 50 "chromevox/injected/mathjax_external_util.js" |
55 ], | 51 ], |
56 {% if use_chromevox_next == '1' %} | 52 {% if use_chromevox_next == '1' %} |
57 "automation": { | 53 "automation": { |
58 "desktop": true | 54 "desktop": true |
59 }, | 55 }, |
56 "commands": { | |
57 "nextElement": { | |
58 "description": "Moves to the next element", | |
59 "suggested_key": { | |
60 "chromeos": "Search+Shift+Right" | |
61 } | |
62 }, | |
63 "previousElement": { | |
64 "description": "Moves to the previous element", | |
65 "suggested_key": { | |
66 "chromeos": "Search+Shift+Left" | |
67 } | |
68 }, | |
69 "nextLine": { | |
70 "description": "Moves to the next line", | |
71 "suggested_key": { | |
72 "chromeos": "Search+Shift+Down" | |
73 } | |
74 }, | |
75 "previousLine": { | |
76 "description": "Moves to the previous line", | |
77 "suggested_key": { | |
78 "chromeos": "Search+Shift+Up" | |
79 } | |
80 } | |
81 }, | |
60 {% endif %} | 82 {% endif %} |
61 "default_locale": "en" | 83 "default_locale": "en" |
62 } | 84 } |
OLD | NEW |