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

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

Issue 536233002: Begin introducing some of the initial pieces for ChromeVox next commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chromeos_conversions
Patch Set: Created 6 years, 3 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
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",
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 "commandLinePrivate", 23 "commands.accessibility",
24 "commandLinePrivate",
dmazzoni 2014/09/04 15:55:42 nit: indentation
David Tseng 2014/09/04 18:37:43 Done.
24 "experimental", 25 "experimental",
25 "history", 26 "history",
26 "storage", 27 "storage",
27 "systemPrivate", 28 "systemPrivate",
28 "tabs", 29 "tabs",
29 "tts", 30 "tts",
30 "virtualKeyboardPrivate", 31 "virtualKeyboardPrivate",
31 "<all_urls>" 32 "<all_urls>"
32 ], 33 ],
33 "content_scripts": [ 34 "content_scripts": [
34 { 35 {
35 "matches": [ "<all_urls>" ], 36 "matches": [ "<all_urls>" ],
36 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch romevox/background/background.html" ], 37 "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/ch romevox/background/background.html" ],
37 "all_frames": true, 38 "all_frames": true,
38 "js": [ 39 "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" 40 "chromeVoxChromePageScript.js"
46 {% endif %}
47 ] 41 ]
48 } 42 }
49 ], 43 ],
50 "web_accessible_resources": [ 44 "web_accessible_resources": [
51 "chromevox/injected/api.js", 45 "chromevox/injected/api.js",
52 "chromevox/injected/api_util.js", 46 "chromevox/injected/api_util.js",
53 "chromevox/injected/mathjax.js", 47 "chromevox/injected/mathjax.js",
54 "chromevox/injected/mathjax_external_util.js" 48 "chromevox/injected/mathjax_external_util.js"
55 ], 49 ],
56 {% if use_chromevox_next == '1' %} 50 {% if use_chromevox_next == '1' %}
57 "automation": { 51 "automation": {
58 "desktop": true 52 "desktop": true
59 }, 53 },
54 "commands": {
55 "nextElement": {
56 "description": "Moves to the next element",
57 "global": true,
58 "suggested_key": {
59 "chromeos": "Search+Shift+Right"
60 }
61 },
62 "previousElement": {
63 "description": "Moves to the previous element",
64 "global": true,
65 "suggested_key": {
66 "chromeos": "Search+Shift+Left"
67 }
68 },
69 "nextLine": {
70 "description": "Moves to the next line",
71 "global": true,
72 "suggested_key": {
73 "chromeos": "Search+Shift+Down"
74 }
75 },
76 "previousLine": {
77 "description": "Moves to the previous line",
78 "global": true,
79 "suggested_key": {
80 "chromeos": "Search+Shift+Up"
81 }
82 }
83 },
60 {% endif %} 84 {% endif %}
61 "default_locale": "en" 85 "default_locale": "en"
62 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698