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

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

Issue 12095023: Allow platform apps to add themselves to the Action Box. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use raw pointer + IconImage signature changed Created 7 years, 10 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const char kOptionsPage[] = "options_page"; 85 const char kOptionsPage[] = "options_page";
86 const char kPageAction[] = "page_action"; 86 const char kPageAction[] = "page_action";
87 const char kPageActionDefaultIcon[] = "default_icon"; 87 const char kPageActionDefaultIcon[] = "default_icon";
88 const char kPageActionDefaultPopup[] = "default_popup"; 88 const char kPageActionDefaultPopup[] = "default_popup";
89 const char kPageActionDefaultTitle[] = "default_title"; 89 const char kPageActionDefaultTitle[] = "default_title";
90 const char kPageActionIcons[] = "icons"; 90 const char kPageActionIcons[] = "icons";
91 const char kPageActionId[] = "id"; 91 const char kPageActionId[] = "id";
92 const char kPageActionPopup[] = "popup"; 92 const char kPageActionPopup[] = "popup";
93 const char kPageActionPopupPath[] = "path"; 93 const char kPageActionPopupPath[] = "path";
94 const char kPageActions[] = "page_actions"; 94 const char kPageActions[] = "page_actions";
95 const char kPageLauncher[] = "page_launcher";
95 const char kPermissions[] = "permissions"; 96 const char kPermissions[] = "permissions";
96 const char kPlatformAppBackground[] = "app.background"; 97 const char kPlatformAppBackground[] = "app.background";
97 const char kPlatformAppBackgroundPage[] = "app.background.page"; 98 const char kPlatformAppBackgroundPage[] = "app.background.page";
98 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; 99 const char kPlatformAppBackgroundScripts[] = "app.background.scripts";
99 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; 100 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy";
100 const char kPlugins[] = "plugins"; 101 const char kPlugins[] = "plugins";
101 const char kPluginsPath[] = "path"; 102 const char kPluginsPath[] = "path";
102 const char kPluginsPublic[] = "public"; 103 const char kPluginsPublic[] = "public";
103 const char kPublicKey[] = "key"; 104 const char kPublicKey[] = "key";
104 const char kRequirements[] = "requirements"; 105 const char kRequirements[] = "requirements";
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 const char kInvalidPageActionPopup[] = 415 const char kInvalidPageActionPopup[] =
415 "Invalid type for page action popup."; 416 "Invalid type for page action popup.";
416 const char kInvalidPageActionPopupPath[] = 417 const char kInvalidPageActionPopupPath[] =
417 "Invalid value for page action popup path [*]."; 418 "Invalid value for page action popup path [*].";
418 const char kInvalidPageActionsList[] = 419 const char kInvalidPageActionsList[] =
419 "Invalid value for 'page_actions'."; 420 "Invalid value for 'page_actions'.";
420 const char kInvalidPageActionsListSize[] = 421 const char kInvalidPageActionsListSize[] =
421 "Invalid value for 'page_actions'. There can be at most one page action."; 422 "Invalid value for 'page_actions'. There can be at most one page action.";
422 const char kInvalidPageActionTypeValue[] = 423 const char kInvalidPageActionTypeValue[] =
423 "Invalid value for 'page_actions[*].type', expected 'tab' or 'permanent'."; 424 "Invalid value for 'page_actions[*].type', expected 'tab' or 'permanent'.";
425 const char kInvalidPageLauncher[] =
426 "Invalid value for 'page_launcher'.";
424 const char kInvalidPermission[] = 427 const char kInvalidPermission[] =
425 "Invalid value for 'permissions[*]'."; 428 "Invalid value for 'permissions[*]'.";
426 const char kInvalidPermissions[] = 429 const char kInvalidPermissions[] =
427 "Required value 'permissions' is missing or invalid."; 430 "Required value 'permissions' is missing or invalid.";
428 const char kInvalidPermissionScheme[] = 431 const char kInvalidPermissionScheme[] =
429 "Invalid scheme for 'permissions[*]'."; 432 "Invalid scheme for 'permissions[*]'.";
430 const char kInvalidPlugins[] = 433 const char kInvalidPlugins[] =
431 "Invalid value for 'plugins'."; 434 "Invalid value for 'plugins'.";
432 const char kInvalidPluginsPath[] = 435 const char kInvalidPluginsPath[] =
433 "Invalid value for 'plugins[*].path'."; 436 "Invalid value for 'plugins[*].path'.";
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 const char kScriptBadgeTitleIgnored[] = 550 const char kScriptBadgeTitleIgnored[] =
548 "default_title specified in script_badge manifest section will not be " 551 "default_title specified in script_badge manifest section will not be "
549 "used."; 552 "used.";
550 const char kWebRequestConflictsWithLazyBackground[] = 553 const char kWebRequestConflictsWithLazyBackground[] =
551 "The 'webRequest' API cannot be used with event pages."; 554 "The 'webRequest' API cannot be used with event pages.";
552 #if defined(OS_CHROMEOS) 555 #if defined(OS_CHROMEOS)
553 const char kIllegalPlugins[] = 556 const char kIllegalPlugins[] =
554 "Extensions cannot install plugins on Chrome OS"; 557 "Extensions cannot install plugins on Chrome OS";
555 #endif 558 #endif
556 } // namespace extension_manifest_errors 559 } // namespace extension_manifest_errors
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | chrome/common/extensions/permissions/permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698