Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2

Issue 599193002: Only inject ChromeVox classic when necessary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command_prev_next
Patch Set: Address comment. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
(...skipping 15 matching lines...) Expand all
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 "content_scripts": [ 37 "content_scripts": [
37 { 38 {
38 "matches": [ "<all_urls>" ], 39 "matches": [ "<all_urls>" ],
39 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch romevox/background/background.html" ], 40 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch romevox/background/background.html" ],
40 "all_frames": true, 41 "all_frames": true,
41 "js": [ 42 "js": [
42 "chromeVoxChromePageScript.js" 43 "chromeVoxChromePageScript.js"
43 ] 44 ]
44 } 45 }
45 ], 46 ],
46 "web_accessible_resources": [ 47 {% endif %}
48 "web_accessible_resources": [
47 "chromevox/injected/api.js", 49 "chromevox/injected/api.js",
48 "chromevox/injected/api_util.js", 50 "chromevox/injected/api_util.js",
49 "chromevox/injected/mathjax.js", 51 "chromevox/injected/mathjax.js",
50 "chromevox/injected/mathjax_external_util.js" 52 "chromevox/injected/mathjax_external_util.js"
51 ], 53 ],
52 {% if use_chromevox_next == '1' %} 54 {% if use_chromevox_next == '1' %}
53 "automation": { 55 "automation": {
54 "desktop": true 56 "desktop": true
55 }, 57 },
56 "commands": { 58 "commands": {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 "description": "Moves to the previous heading", 102 "description": "Moves to the previous heading",
101 "suggested_key": { 103 "suggested_key": {
102 "chromeos": "Search+Shift+H" 104 "chromeos": "Search+Shift+H"
103 } 105 }
104 } 106 }
105 }, 107 },
106 {% endif %} 108 {% endif %}
107 "options_page": "chromevox/background/options.html", 109 "options_page": "chromevox/background/options.html",
108 "default_locale": "en" 110 "default_locale": "en"
109 } 111 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698