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

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

Issue 10544059: Change the platform app manifest structure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const char kPageAction[] = "page_action"; 78 const char kPageAction[] = "page_action";
79 const char kPageActionDefaultIcon[] = "default_icon"; 79 const char kPageActionDefaultIcon[] = "default_icon";
80 const char kPageActionDefaultPopup[] = "default_popup"; 80 const char kPageActionDefaultPopup[] = "default_popup";
81 const char kPageActionDefaultTitle[] = "default_title"; 81 const char kPageActionDefaultTitle[] = "default_title";
82 const char kPageActionIcons[] = "icons"; 82 const char kPageActionIcons[] = "icons";
83 const char kPageActionId[] = "id"; 83 const char kPageActionId[] = "id";
84 const char kPageActionPopup[] = "popup"; 84 const char kPageActionPopup[] = "popup";
85 const char kPageActionPopupPath[] = "path"; 85 const char kPageActionPopupPath[] = "path";
86 const char kPageActions[] = "page_actions"; 86 const char kPageActions[] = "page_actions";
87 const char kPermissions[] = "permissions"; 87 const char kPermissions[] = "permissions";
88 const char kPlatformApp[] = "platform_app"; 88 const char kPlatformAppBackground[] = "app.background";
89 const char kPlatformAppBackgroundPage[] = "app.background.page";
90 const char kPlatformAppBackgroundScripts[] = "app.background.scripts";
89 const char kPlugins[] = "plugins"; 91 const char kPlugins[] = "plugins";
90 const char kPluginsPath[] = "path"; 92 const char kPluginsPath[] = "path";
91 const char kPluginsPublic[] = "public"; 93 const char kPluginsPublic[] = "public";
92 const char kPublicKey[] = "key"; 94 const char kPublicKey[] = "key";
93 const char kRequirements[] = "requirements"; 95 const char kRequirements[] = "requirements";
94 const char kRunAt[] = "run_at"; 96 const char kRunAt[] = "run_at";
95 const char kSandboxedPages[] = "sandboxed_pages.pages"; 97 const char kSandboxedPages[] = "sandboxed_pages.pages";
96 const char kSandboxedPagesCSP[] = "sandboxed_pages.content_security_policy"; 98 const char kSandboxedPagesCSP[] = "sandboxed_pages.content_security_policy";
97 const char kShiftKey[] = "shiftKey"; 99 const char kShiftKey[] = "shiftKey";
98 const char kShortcutKey[] = "shortcutKey"; 100 const char kShortcutKey[] = "shortcutKey";
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 "At least one js or css file is required for 'content_scripts[*]'."; 467 "At least one js or css file is required for 'content_scripts[*]'.";
466 const char kMultipleOverrides[] = 468 const char kMultipleOverrides[] =
467 "An extension cannot override more than one page."; 469 "An extension cannot override more than one page.";
468 const char kNoWildCardsInPaths[] = 470 const char kNoWildCardsInPaths[] =
469 "Wildcards are not allowed in extent URL pattern paths."; 471 "Wildcards are not allowed in extent URL pattern paths.";
470 const char kOneUISurfaceOnly[] = 472 const char kOneUISurfaceOnly[] =
471 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; 473 "Only one of 'browser_action', 'page_action', and 'app' can be specified.";
472 const char kPermissionNotAllowed[] = 474 const char kPermissionNotAllowed[] =
473 "Access to permission '*' denied."; 475 "Access to permission '*' denied.";
474 const char kPlatformAppFlagRequired[] = 476 const char kPlatformAppFlagRequired[] =
475 "Loading platform_app extension type is turned off by default. " 477 "Loading platform_app extension type is turned off by default. "
miket_OOO 2012/06/07 21:34:19 If we want to be platform_app-clean after this CL,
Mihai Parparita -not on Chrome 2012/06/07 21:40:01 I think there's more strings than just these, so I
476 "You can enable this type with the --enable-platform-apps " 478 "You can enable this type with the --enable-platform-apps "
477 "command-line flag."; 479 "command-line flag.";
480 const char kPlatformAppInvalidBackgroundPage[] =
481 "Platform app background pages are specified via the "
482 "app.background.page key.";
miket_OOO 2012/06/07 21:34:19 Do we want to call these just "apps" rather than "
Mihai Parparita -not on Chrome 2012/06/07 21:40:01 Same as above (and see discussion in my bug commen
483 const char kPlatformAppInvalidBackgroundScripts[] =
484 "Platform app background scripts are specified via the "
485 "app.background.scripts key.";
478 const char kPlatformAppNeedsManifestVersion2[] = 486 const char kPlatformAppNeedsManifestVersion2[] =
479 "Platform apps need manifest_version set to >= 2"; 487 "Platform apps need manifest_version set to >= 2";
480 const char kReservedMessageFound[] = 488 const char kReservedMessageFound[] =
481 "Reserved key * found in message catalog."; 489 "Reserved key * found in message catalog.";
482 const char kWebRequestConflictsWithLazyBackground[] = 490 const char kWebRequestConflictsWithLazyBackground[] =
483 "The 'webRequest' API cannot be used with event pages."; 491 "The 'webRequest' API cannot be used with event pages.";
484 #if defined(OS_CHROMEOS) 492 #if defined(OS_CHROMEOS)
485 const char kIllegalPlugins[] = 493 const char kIllegalPlugins[] =
486 "Extensions cannot install plugins on Chrome OS"; 494 "Extensions cannot install plugins on Chrome OS";
487 #endif 495 #endif
488 } // namespace extension_manifest_errors 496 } // namespace extension_manifest_errors
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | chrome/common/extensions/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698