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

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

Issue 10966018: Make Extension::ShouldDisplayInLauncher driven by manifest property. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
11 const char kApp[] = "app"; 11 const char kApp[] = "app";
12 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; 12 const char kBackgroundAllowJsAccess[] = "background.allow_js_access";
13 const char kBackgroundPage[] = "background.page"; 13 const char kBackgroundPage[] = "background.page";
14 const char kBackgroundPageLegacy[] = "background_page"; 14 const char kBackgroundPageLegacy[] = "background_page";
15 const char kBackgroundPersistent[] = "background.persistent"; 15 const char kBackgroundPersistent[] = "background.persistent";
16 const char kBackgroundScripts[] = "background.scripts"; 16 const char kBackgroundScripts[] = "background.scripts";
17 const char kBrowserAction[] = "browser_action"; 17 const char kBrowserAction[] = "browser_action";
18 const char kChromeURLOverrides[] = "chrome_url_overrides"; 18 const char kChromeURLOverrides[] = "chrome_url_overrides";
19 const char kCommands[] = "commands"; 19 const char kCommands[] = "commands";
20 const char kContentScripts[] = "content_scripts"; 20 const char kContentScripts[] = "content_scripts";
21 const char kContentSecurityPolicy[] = "content_security_policy"; 21 const char kContentSecurityPolicy[] = "content_security_policy";
22 const char kConvertedFromUserScript[] = "converted_from_user_script"; 22 const char kConvertedFromUserScript[] = "converted_from_user_script";
23 const char kCss[] = "css"; 23 const char kCss[] = "css";
24 const char kCtrlKey[] = "ctrlKey"; 24 const char kCtrlKey[] = "ctrlKey";
25 const char kCurrentLocale[] = "current_locale"; 25 const char kCurrentLocale[] = "current_locale";
26 const char kDefaultLocale[] = "default_locale"; 26 const char kDefaultLocale[] = "default_locale";
27 const char kDescription[] = "description"; 27 const char kDescription[] = "description";
28 const char kDevToolsPage[] = "devtools_page"; 28 const char kDevToolsPage[] = "devtools_page";
29 const char kDisplayInLauncher[] = "display_in_launcher";
29 const char kEventName[] = "event_name"; 30 const char kEventName[] = "event_name";
30 const char kExcludeGlobs[] = "exclude_globs"; 31 const char kExcludeGlobs[] = "exclude_globs";
31 const char kExcludeMatches[] = "exclude_matches"; 32 const char kExcludeMatches[] = "exclude_matches";
32 const char kFileAccessList[] = "file_access"; 33 const char kFileAccessList[] = "file_access";
33 const char kFileFilters[] = "file_filters"; 34 const char kFileFilters[] = "file_filters";
34 const char kFileBrowserHandlers[] = "file_browser_handlers"; 35 const char kFileBrowserHandlers[] = "file_browser_handlers";
35 const char kHomepageURL[] = "homepage_url"; 36 const char kHomepageURL[] = "homepage_url";
36 const char kIcons[] = "icons"; 37 const char kIcons[] = "icons";
37 const char kId[] = "id"; 38 const char kId[] = "id";
38 const char kIncognito[] = "incognito"; 39 const char kIncognito[] = "incognito";
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 const char kInvalidCss[] = 220 const char kInvalidCss[] =
220 "Invalid value for 'content_scripts[*].css[*]'."; 221 "Invalid value for 'content_scripts[*].css[*]'.";
221 const char kInvalidCssList[] = 222 const char kInvalidCssList[] =
222 "Required value 'content_scripts[*].css' is invalid."; 223 "Required value 'content_scripts[*].css' is invalid.";
223 const char kInvalidDefaultLocale[] = 224 const char kInvalidDefaultLocale[] =
224 "Invalid value for default locale - locale name must be a string."; 225 "Invalid value for default locale - locale name must be a string.";
225 const char kInvalidDescription[] = 226 const char kInvalidDescription[] =
226 "Invalid value for 'description'."; 227 "Invalid value for 'description'.";
227 const char kInvalidDevToolsPage[] = 228 const char kInvalidDevToolsPage[] =
228 "Invalid value for 'devtools_page'."; 229 "Invalid value for 'devtools_page'.";
230 const char kInvalidDisplayInLauncher[] =
231 "Invalid value for 'display_in_launcher'.";
229 const char kInvalidExcludeMatch[] = 232 const char kInvalidExcludeMatch[] =
230 "Invalid value for 'content_scripts[*].exclude_matches[*]': *"; 233 "Invalid value for 'content_scripts[*].exclude_matches[*]': *";
231 const char kInvalidExcludeMatches[] = 234 const char kInvalidExcludeMatches[] =
232 "Invalid value for 'content_scripts[*].exclude_matches'."; 235 "Invalid value for 'content_scripts[*].exclude_matches'.";
233 const char kInvalidFileAccessList[] = 236 const char kInvalidFileAccessList[] =
234 "Invalid value for 'file_access'."; 237 "Invalid value for 'file_access'.";
235 const char kInvalidFileAccessValue[] = 238 const char kInvalidFileAccessValue[] =
236 "Invalid value for 'file_access[*]'."; 239 "Invalid value for 'file_access[*]'.";
237 const char kInvalidFileBrowserHandler[] = 240 const char kInvalidFileBrowserHandler[] =
238 "Invalid value for 'file_browser_handers'."; 241 "Invalid value for 'file_browser_handers'.";
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 const char kScriptBadgeTitleIgnored[] = 510 const char kScriptBadgeTitleIgnored[] =
508 "default_title specified in script_badge manifest section will not be " 511 "default_title specified in script_badge manifest section will not be "
509 "used."; 512 "used.";
510 const char kWebRequestConflictsWithLazyBackground[] = 513 const char kWebRequestConflictsWithLazyBackground[] =
511 "The 'webRequest' API cannot be used with event pages."; 514 "The 'webRequest' API cannot be used with event pages.";
512 #if defined(OS_CHROMEOS) 515 #if defined(OS_CHROMEOS)
513 const char kIllegalPlugins[] = 516 const char kIllegalPlugins[] =
514 "Extensions cannot install plugins on Chrome OS"; 517 "Extensions cannot install plugins on Chrome OS";
515 #endif 518 #endif
516 } // namespace extension_manifest_errors 519 } // namespace extension_manifest_errors
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698