214be9fb1a9294f26927c6f4f7ce2e539458fbbb
[platform/framework/web/crosswalk.git] / src / remoting / webapp / manifest.json
1 {
2   MANIFEST_KEY_FOR_UNOFFICIAL_BUILD
3   "name": "__MSG_PRODUCT_NAME__",
4   "version": "FULL_APP_VERSION",
5   "description": "__MSG_PRODUCT_DESCRIPTION__",
6   "manifest_version": 2,
7   "default_locale": "en",
8   "minimum_chrome_version": "32",
9   "app": {
10     "launch": {
11       "local_path": "main.html"
12     }
13   },
14   "icons": {
15     "128": "chromoting128.webp",
16     "48": "chromoting48.webp",
17     "16": "chromoting16.webp"
18   },
19   "content_scripts": [
20     {
21       "matches": [
22         "OAUTH2_REDIRECT_URL"
23       ],
24       "js": [ "cs_oauth2_trampoline.js" ]
25     },
26     {
27       "matches": [
28         "THIRD_PARTY_AUTH_REDIRECT_URL"
29       ],
30       "js": [ "cs_third_party_auth_trampoline.js" ]
31     }
32   ],
33   "content_security_policy": "default-src 'self'; script-src 'self' TALK_GADGET_HOST; style-src 'self' https://fonts.googleapis.com; img-src 'self' TALK_GADGET_HOST; font-src *; connect-src 'self' OAUTH2_ACCOUNTS_HOST GOOGLE_API_HOSTS TALK_GADGET_HOST https://relay.google.com",
34   "optional_permissions": [
35     "<all_urls>"
36   ],
37   "permissions": [
38     "OAUTH2_ACCOUNTS_HOST/*",
39     "OAUTH2_API_BASE_URL/*",
40     "DIRECTORY_API_BASE_URL/*",
41     "TALK_GADGET_HOST/talkgadget/*",
42     "https://relay.google.com/*",
43     "storage",
44     "clipboardRead",
45     "clipboardWrite",
46     "nativeMessaging"
47   ],
48   "plugins": [
49     { "path": "remoting_host_plugin.dll", "public": false },
50     { "path": "libremoting_host_plugin.ia32.so", "public": false },
51     { "path": "libremoting_host_plugin.x64.so", "public": false },
52     { "path": "remoting_host_plugin.plugin", "public": false }
53   ],
54   "requirements": {
55     "plugins": {
56       "npapi": false
57     }
58   }
59 }