1{
2{%if key is defined %}
3  "key": "{{key}}",
4{% endif %}
5  "manifest_version": 2,
6  "name": "ChromeVox",
7  "version": "{{set_version}}",
8  "description": "ChromeVox - Giving Voice to Chrome.",
9{% if is_guest_manifest == '1' %}
10  "incognito": "split",
11{% endif %}
12  "background": {
13{% if use_chromevox_next == '1' %}
14    "page": "cvox2/background/background.html"
15{% else %}
16    "page": "chromevox/background/background.html"
17{% endif %}
18  },
19  "permissions": [
20    "accessibilityPrivate",
21    "bookmarks",
22    "brailleDisplayPrivate",
23{% if use_chromevox_next == '1' %}
24    "commands.accessibility",
25{% endif %}
26    "commandLinePrivate",
27    "experimental",
28    "history",
29    "storage",
30    "systemPrivate",
31    "tabs",
32    "tts",
33    "virtualKeyboardPrivate",
34    "<all_urls>"
35  ],
36{% if use_chromevox_next == '0' %}
37  "content_scripts": [
38    {
39      "matches": [ "<all_urls>" ],
40      "exclude_globs": [ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/chromevox/background/background.html" ],
41      "all_frames": true,
42      "js": [
43        "chromeVoxChromePageScript.js"
44      ]
45    }
46  ],
47{% endif %}
48"web_accessible_resources": [
49    "chromevox/injected/api.js",
50    "chromevox/injected/api_util.js",
51    "chromevox/injected/mathjax.js",
52    "chromevox/injected/mathjax_external_util.js"
53  ],
54{% if use_chromevox_next == '1' %}
55  "automation": {
56    "desktop": true
57  },
58  "commands": {
59    "nextElement": {
60      "description": "Moves to the next element",
61      "suggested_key": {
62        "chromeos": "Search+Shift+Right"
63      }
64    },
65    "previousElement": {
66      "description": "Moves to the previous element",
67      "suggested_key": {
68        "chromeos": "Search+Shift+Left"
69      }
70    },
71    "nextLine": {
72      "description": "Moves to the next line",
73      "suggested_key": {
74        "chromeos": "Search+Shift+Down"
75      }
76    },
77    "previousLine": {
78      "description": "Moves to the previous line",
79      "suggested_key": {
80        "chromeos": "Search+Shift+Up"
81      }
82    }
83  },
84{% endif %}
85  "options_page": "chromevox/background/options.html",
86  "default_locale": "en"
87}
88