1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // The type schemas for structured manifest items. Not actually a callable API.
9 "namespace": "manifestTypes",
10 "description": "Schemas for structured manifest entries",
12 "generate_error_messages": true
16 "id": "ExternallyConnectable",
18 // Note: description commented out because externally_connectable.html
19 // already describes it, and the repetition looks odd.
20 // "description": "The <code>externally_connectable</code> manifest property declares which extensions, apps, and web pages can connect to your extension via $ref:runtime.connect and $ref:runtime.sendMessage.",
23 "description": "<p>The IDs of extensions or apps that are allowed to connect. If left empty or unspecified, no extensions or apps can connect.</p><p>The wildcard <code>\"*\"</code> will allow all extensions and apps to connect.</p>",
26 "items": {"type": "string"}
29 "description": "<p>The URL patterns for <em>web pages</em> that are allowed to connect. <em>This does not affect content scripts.</em> If left empty or unspecified, no web pages can connect.</p><p>Patterns cannot include wildcard domains nor subdomains of (effective) top level domains; <code>*://google.com/*</code> and <code>http://*.chromium.org/*</code> are valid, while <code><all_urls></code>, <code>http://*/*</code>, <code>*://*.com/*</code>, and even <code>http://*.appspot.com/*</code> are not.</p>",
32 "items": {"type": "string"}
34 "accepts_tls_channel_id": {
35 "description": "If <code>true</code>, messages sent via $ref:runtime.connect or $ref:runtime.sendMessage will set $ref:runtime.MessageSender.tlsChannelId if those methods request it to be. If <code>false</code>, $ref:runtime.MessageSender.tlsChannelId will never be set under any circumstance.",
42 "id": "ChromeSettingsOverrides",
44 "description": "Chrome settings which can be overriden by an extension.",
48 "description": "Settings to permit bookmarks user interface customization by extensions.",
53 "description": "If <code>true</code>, the built-in bookmark button will be removed from the user interface.",
56 // TODO(wittman): Remove for M36.
57 "hide_bookmark_button": {
59 "description": "Deprecated. Use remove_button instead.",
65 "description": "New value for the homepage.",
71 "description": "A search engine",
76 "description": "Name of the search engine displayed to user."
80 "description": "Omnibox keyword for the search engine."
84 "description": "An icon URL for the search engine."
88 "description": "An search URL used by the search engine."
92 "description": "Encoding of the search term."
97 "description": "If omitted, this engine does not support suggestions."
102 "description": "If omitted, this engine does not support instant."
107 "description": "If omitted, this engine does not support image search."
109 "search_url_post_params": {
112 "description": "The string of post parameters to search_url"
114 "suggest_url_post_params": {
117 "description": "The string of post parameters to suggest_url"
119 "instant_url_post_params": {
122 "description": "The string of post parameters to instant_url"
124 "image_url_post_params": {
127 "description": "The string of post parameters to image_url"
131 "items": { "type": "string" },
133 "description": "A list of URL patterns that can be used, in addition to |search_url|."
137 "description": "Specifies if the search provider should be default."
142 "description": "A new startup page to be added to the list.",
145 "items": {"type": "string"}
150 "id": "SocketHostPatterns",
151 "description": "<p>A single string or a list of strings representing host:port patterns.</p>",
153 { "type": "string" },
154 { "type": "array", "items": { "type": "string" } }
160 "description": "The <code>sockets</code> manifest property declares which sockets operations an app can issue.",
163 "description": "The <code>udp</code> manifest property declares which sockets.udp operations an app can issue.",
168 "description": "<p>The host:port pattern for <code>bind</code> operations.</p>",
170 "$ref": "SocketHostPatterns"
173 "description": "<p>The host:port pattern for <code>send</code> operations.</p>",
175 "$ref": "SocketHostPatterns"
177 "multicastMembership": {
178 "description": "<p>The host:port pattern for <code>joinGroup</code> operations.</p>",
180 "$ref": "SocketHostPatterns"
185 "description": "The <code>tcp</code> manifest property declares which sockets.tcp operations an app can issue.",
190 "description": "<p>The host:port pattern for <code>connect</code> operations.</p>",
192 "$ref": "SocketHostPatterns"
197 "description": "The <code>tcpServer</code> manifest property declares which sockets.tcpServer operations an app can issue.",
202 "description": "<p>The host:port pattern for <code>listen</code> operations.</p>",
204 "$ref": "SocketHostPatterns"