| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 "description": "__MSG_CHROMEVOX_SKIP_TO_END__", | 121 "description": "__MSG_CHROMEVOX_SKIP_TO_END__", |
| 115 "suggested_key": { | 122 "suggested_key": { |
| 116 "chromeos": "Search+Ctrl+Right" | 123 "chromeos": "Search+Ctrl+Right" |
| 117 } | 124 } |
| 118 } | 125 } |
| 119 }, | 126 }, |
| 120 {% endif %} | 127 {% endif %} |
| 121 "options_page": "chromevox/background/options.html", | 128 "options_page": "chromevox/background/options.html", |
| 122 "default_locale": "en" | 129 "default_locale": "en" |
| 123 } | 130 } |
| OLD | NEW |