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

Side by Side Diff: chrome/common/extensions/extension_manifest_constants.cc

Issue 13971005: Basic multi-module support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix copyright for presubmit Created 7 years, 7 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/extensions/extension_manifest_constants.h" 5 #include "chrome/common/extensions/extension_manifest_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const char kAllFrames[] = "all_frames"; 9 const char kAllFrames[] = "all_frames";
10 const char kAltKey[] = "altKey"; 10 const char kAltKey[] = "altKey";
(...skipping 16 matching lines...) Expand all
27 const char kCtrlKey[] = "ctrlKey"; 27 const char kCtrlKey[] = "ctrlKey";
28 const char kCurrentLocale[] = "current_locale"; 28 const char kCurrentLocale[] = "current_locale";
29 const char kDefaultLocale[] = "default_locale"; 29 const char kDefaultLocale[] = "default_locale";
30 const char kDescription[] = "description"; 30 const char kDescription[] = "description";
31 const char kDevToolsPage[] = "devtools_page"; 31 const char kDevToolsPage[] = "devtools_page";
32 const char kDisplayInLauncher[] = "display_in_launcher"; 32 const char kDisplayInLauncher[] = "display_in_launcher";
33 const char kDisplayInNewTabPage[] = "display_in_new_tab_page"; 33 const char kDisplayInNewTabPage[] = "display_in_new_tab_page";
34 const char kEventName[] = "event_name"; 34 const char kEventName[] = "event_name";
35 const char kExcludeGlobs[] = "exclude_globs"; 35 const char kExcludeGlobs[] = "exclude_globs";
36 const char kExcludeMatches[] = "exclude_matches"; 36 const char kExcludeMatches[] = "exclude_matches";
37 const char kExport[] = "export";
37 const char kExternallyConnectable[] = "externally_connectable"; 38 const char kExternallyConnectable[] = "externally_connectable";
38 const char kFileAccessList[] = "file_access"; 39 const char kFileAccessList[] = "file_access";
39 const char kFileFilters[] = "file_filters"; 40 const char kFileFilters[] = "file_filters";
40 const char kFileBrowserHandlers[] = "file_browser_handlers"; 41 const char kFileBrowserHandlers[] = "file_browser_handlers";
41 const char kMediaGalleriesHandlers[] = "media_galleries_handlers"; 42 const char kMediaGalleriesHandlers[] = "media_galleries_handlers";
42 const char kFileHandlers[] = "file_handlers"; 43 const char kFileHandlers[] = "file_handlers";
43 const char kFileHandlerTitle[] = "title"; 44 const char kFileHandlerTitle[] = "title";
44 const char kFileHandlerTypes[] = "types"; 45 const char kFileHandlerTypes[] = "types";
45 const char kHomepageURL[] = "homepage_url"; 46 const char kHomepageURL[] = "homepage_url";
46 const char kIcons[] = "icons"; 47 const char kIcons[] = "icons";
47 const char kId[] = "id"; 48 const char kId[] = "id";
49 const char kImport[] = "import";
48 const char kIncognito[] = "incognito"; 50 const char kIncognito[] = "incognito";
49 const char kIncludeGlobs[] = "include_globs"; 51 const char kIncludeGlobs[] = "include_globs";
50 const char kInputComponents[] = "input_components"; 52 const char kInputComponents[] = "input_components";
51 const char kIntentDisposition[] = "disposition"; 53 const char kIntentDisposition[] = "disposition";
52 const char kIntentHref[] = "href"; 54 const char kIntentHref[] = "href";
53 const char kIntentPath[] = "path"; 55 const char kIntentPath[] = "path";
54 const char kIntents[] = "intents"; 56 const char kIntents[] = "intents";
55 const char kIntentTitle[] = "title"; 57 const char kIntentTitle[] = "title";
56 const char kIntentType[] = "type"; 58 const char kIntentType[] = "type";
57 const char kIsolation[] = "app.isolation"; 59 const char kIsolation[] = "app.isolation";
58 const char kJs[] = "js"; 60 const char kJs[] = "js";
59 const char kKey[] = "key"; 61 const char kKey[] = "key";
60 const char kKeycode[] = "keyCode"; 62 const char kKeycode[] = "keyCode";
61 const char kKioskEnabled[] = "kiosk_enabled"; 63 const char kKioskEnabled[] = "kiosk_enabled";
62 const char kLanguage[] = "language"; 64 const char kLanguage[] = "language";
63 const char kLaunch[] = "app.launch"; 65 const char kLaunch[] = "app.launch";
64 const char kLaunchContainer[] = "app.launch.container"; 66 const char kLaunchContainer[] = "app.launch.container";
65 const char kLaunchHeight[] = "app.launch.height"; 67 const char kLaunchHeight[] = "app.launch.height";
66 const char kLaunchLocalPath[] = "app.launch.local_path"; 68 const char kLaunchLocalPath[] = "app.launch.local_path";
67 const char kLaunchWebURL[] = "app.launch.web_url"; 69 const char kLaunchWebURL[] = "app.launch.web_url";
68 const char kLaunchMaxHeight[] = "app.launch.max_height"; 70 const char kLaunchMaxHeight[] = "app.launch.max_height";
69 const char kLaunchMaxWidth[] = "app.launch.max_width"; 71 const char kLaunchMaxWidth[] = "app.launch.max_width";
70 const char kLaunchMinHeight[] = "app.launch.min_height"; 72 const char kLaunchMinHeight[] = "app.launch.min_height";
71 const char kLaunchMinWidth[] = "app.launch.min_width"; 73 const char kLaunchMinWidth[] = "app.launch.min_width";
72 const char kLaunchWidth[] = "app.launch.width"; 74 const char kLaunchWidth[] = "app.launch.width";
73 const char kLayouts[] = "layouts"; 75 const char kLayouts[] = "layouts";
74 const char kManifestVersion[] = "manifest_version"; 76 const char kManifestVersion[] = "manifest_version";
75 const char kMatches[] = "matches"; 77 const char kMatches[] = "matches";
76 const char kMinimumChromeVersion[] = "minimum_chrome_version"; 78 const char kMinimumChromeVersion[] = "minimum_chrome_version";
79 const char kMinimumVersion[] = "minimum_version";
77 const char kMIMETypes[] = "mime_types"; 80 const char kMIMETypes[] = "mime_types";
78 const char kMimeTypesHandler[] = "mime_types_handler"; 81 const char kMimeTypesHandler[] = "mime_types_handler";
79 const char kName[] = "name"; 82 const char kName[] = "name";
80 const char kNaClModules[] = "nacl_modules"; 83 const char kNaClModules[] = "nacl_modules";
81 const char kNaClModulesMIMEType[] = "mime_type"; 84 const char kNaClModulesMIMEType[] = "mime_type";
82 const char kNaClModulesPath[] = "path"; 85 const char kNaClModulesPath[] = "path";
83 const char kOAuth2[] = "oauth2"; 86 const char kOAuth2[] = "oauth2";
84 const char kOAuth2ClientId[] = "oauth2.client_id"; 87 const char kOAuth2ClientId[] = "oauth2.client_id";
85 const char kOAuth2Scopes[] = "oauth2.scopes"; 88 const char kOAuth2Scopes[] = "oauth2.scopes";
86 const char kOfflineEnabled[] = "offline_enabled"; 89 const char kOfflineEnabled[] = "offline_enabled";
(...skipping 13 matching lines...) Expand all
100 const char kPageLauncher[] = "page_launcher"; 103 const char kPageLauncher[] = "page_launcher";
101 const char kPermissions[] = "permissions"; 104 const char kPermissions[] = "permissions";
102 const char kPlatformAppBackground[] = "app.background"; 105 const char kPlatformAppBackground[] = "app.background";
103 const char kPlatformAppBackgroundPage[] = "app.background.page"; 106 const char kPlatformAppBackgroundPage[] = "app.background.page";
104 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; 107 const char kPlatformAppBackgroundScripts[] = "app.background.scripts";
105 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; 108 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy";
106 const char kPlugins[] = "plugins"; 109 const char kPlugins[] = "plugins";
107 const char kPluginsPath[] = "path"; 110 const char kPluginsPath[] = "path";
108 const char kPluginsPublic[] = "public"; 111 const char kPluginsPublic[] = "public";
109 const char kPublicKey[] = "key"; 112 const char kPublicKey[] = "key";
113 const char kResources[] = "resources";
110 const char kRequirements[] = "requirements"; 114 const char kRequirements[] = "requirements";
111 const char kRunAt[] = "run_at"; 115 const char kRunAt[] = "run_at";
112 const char kSandboxedPages[] = "sandbox.pages"; 116 const char kSandboxedPages[] = "sandbox.pages";
113 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; 117 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy";
114 const char kScriptBadge[] = "script_badge"; 118 const char kScriptBadge[] = "script_badge";
115 const char kShiftKey[] = "shiftKey"; 119 const char kShiftKey[] = "shiftKey";
116 const char kShortcutKey[] = "shortcutKey"; 120 const char kShortcutKey[] = "shortcutKey";
117 const char kSignature[] = "signature"; 121 const char kSignature[] = "signature";
118 const char kSpellcheck[] = "spellcheck"; 122 const char kSpellcheck[] = "spellcheck";
119 const char kSpellcheckDictionaryFormat[] = "dictionary_format"; 123 const char kSpellcheckDictionaryFormat[] = "dictionary_format";
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 const char kInvalidDevToolsPage[] = 260 const char kInvalidDevToolsPage[] =
257 "Invalid value for 'devtools_page'."; 261 "Invalid value for 'devtools_page'.";
258 const char kInvalidDisplayInLauncher[] = 262 const char kInvalidDisplayInLauncher[] =
259 "Invalid value for 'display_in_launcher'."; 263 "Invalid value for 'display_in_launcher'.";
260 const char kInvalidDisplayInNewTabPage[] = 264 const char kInvalidDisplayInNewTabPage[] =
261 "Invalid value for 'display_in_new_tab_page'."; 265 "Invalid value for 'display_in_new_tab_page'.";
262 const char kInvalidExcludeMatch[] = 266 const char kInvalidExcludeMatch[] =
263 "Invalid value for 'content_scripts[*].exclude_matches[*]': *"; 267 "Invalid value for 'content_scripts[*].exclude_matches[*]': *";
264 const char kInvalidExcludeMatches[] = 268 const char kInvalidExcludeMatches[] =
265 "Invalid value for 'content_scripts[*].exclude_matches'."; 269 "Invalid value for 'content_scripts[*].exclude_matches'.";
270 const char kInvalidExport[] =
271 "Invalid value for 'export'.";
272 const char kInvalidExportPermissions[] =
273 "Permissions are not allowed for extensions that export resources.";
274 const char kInvalidExportResources[] =
275 "Invalid value for 'export.resources'.";
276 const char kInvalidExportResourcesString[] =
277 "Invalid value for 'export.resources[*]'.";
266 const char kInvalidFileAccessList[] = 278 const char kInvalidFileAccessList[] =
267 "Invalid value for 'file_access'."; 279 "Invalid value for 'file_access'.";
268 const char kInvalidFileAccessValue[] = 280 const char kInvalidFileAccessValue[] =
269 "Invalid value for 'file_access[*]'."; 281 "Invalid value for 'file_access[*]'.";
270 const char kInvalidFileBrowserHandler[] = 282 const char kInvalidFileBrowserHandler[] =
271 "Invalid value for 'file_browser_handlers'."; 283 "Invalid value for 'file_browser_handlers'.";
272 const char kInvalidMediaGalleriesHandler[] = 284 const char kInvalidMediaGalleriesHandler[] =
273 "Invalid value for 'media_galleries_handlers'."; 285 "Invalid value for 'media_galleries_handlers'.";
274 const char kInvalidFileFiltersList[] = 286 const char kInvalidFileFiltersList[] =
275 "Invalid value for 'file_filters'."; 287 "Invalid value for 'file_filters'.";
(...skipping 10 matching lines...) Expand all
286 const char kInvalidGlob[] = 298 const char kInvalidGlob[] =
287 "Invalid value for 'content_scripts[*].*[*]'."; 299 "Invalid value for 'content_scripts[*].*[*]'.";
288 const char kInvalidGlobList[] = 300 const char kInvalidGlobList[] =
289 "Invalid value for 'content_scripts[*].*'."; 301 "Invalid value for 'content_scripts[*].*'.";
290 const char kInvalidHomepageURL[] = 302 const char kInvalidHomepageURL[] =
291 "Invalid value for homepage url: '[*]'."; 303 "Invalid value for homepage url: '[*]'.";
292 const char kInvalidIconPath[] = 304 const char kInvalidIconPath[] =
293 "Invalid value for 'icons[\"*\"]'."; 305 "Invalid value for 'icons[\"*\"]'.";
294 const char kInvalidIcons[] = 306 const char kInvalidIcons[] =
295 "Invalid value for 'icons'."; 307 "Invalid value for 'icons'.";
308 const char kInvalidImport[] =
309 "Invalid value for 'import'.";
310 const char kInvalidImportAndExport[] =
311 "Simultaneous 'import' and 'export' are not allowed.";
312 const char kInvalidImportId[] =
313 "Invalid value for 'import[*].id'.";
314 const char kInvalidImportVersion[] =
315 "Invalid value for 'import[*].minimum_version'.";
296 const char kInvalidIncognitoBehavior[] = 316 const char kInvalidIncognitoBehavior[] =
297 "Invalid value for 'incognito'."; 317 "Invalid value for 'incognito'.";
298 const char kInvalidIncognitoModeForPlatformApp[] = 318 const char kInvalidIncognitoModeForPlatformApp[] =
299 "Invalid value for 'incognito'. Packaged apps must use split incognito " 319 "Invalid value for 'incognito'. Packaged apps must use split incognito "
300 "mode."; 320 "mode.";
301 const char kInvalidInputComponents[] = 321 const char kInvalidInputComponents[] =
302 "Invalid value for 'input_components'"; 322 "Invalid value for 'input_components'";
303 const char kInvalidInputComponentDescription[] = 323 const char kInvalidInputComponentDescription[] =
304 "Invalid value for 'input_components[*].description"; 324 "Invalid value for 'input_components[*].description";
305 const char kInvalidInputComponentLayoutName[] = 325 const char kInvalidInputComponentLayoutName[] =
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 const char kScriptBadgeTitleIgnored[] = 599 const char kScriptBadgeTitleIgnored[] =
580 "default_title specified in script_badge manifest section will not be " 600 "default_title specified in script_badge manifest section will not be "
581 "used."; 601 "used.";
582 const char kWebRequestConflictsWithLazyBackground[] = 602 const char kWebRequestConflictsWithLazyBackground[] =
583 "The 'webRequest' API cannot be used with event pages."; 603 "The 'webRequest' API cannot be used with event pages.";
584 #if defined(OS_CHROMEOS) 604 #if defined(OS_CHROMEOS)
585 const char kIllegalPlugins[] = 605 const char kIllegalPlugins[] =
586 "Extensions cannot install plugins on Chrome OS"; 606 "Extensions cannot install plugins on Chrome OS";
587 #endif 607 #endif
588 } // namespace extension_manifest_errors 608 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698