OLD | NEW |
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 Loading... |
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[] = "sandbox.pages"; | 97 const char kSandboxedPages[] = "sandbox.pages"; |
96 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; | 98 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; |
97 const char kShiftKey[] = "shiftKey"; | 99 const char kShiftKey[] = "shiftKey"; |
98 const char kShortcutKey[] = "shortcutKey"; | 100 const char kShortcutKey[] = "shortcutKey"; |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 "Platform apps need manifest_version set to >= 2"; | 481 "Platform apps need manifest_version set to >= 2"; |
480 const char kReservedMessageFound[] = | 482 const char kReservedMessageFound[] = |
481 "Reserved key * found in message catalog."; | 483 "Reserved key * found in message catalog."; |
482 const char kWebRequestConflictsWithLazyBackground[] = | 484 const char kWebRequestConflictsWithLazyBackground[] = |
483 "The 'webRequest' API cannot be used with event pages."; | 485 "The 'webRequest' API cannot be used with event pages."; |
484 #if defined(OS_CHROMEOS) | 486 #if defined(OS_CHROMEOS) |
485 const char kIllegalPlugins[] = | 487 const char kIllegalPlugins[] = |
486 "Extensions cannot install plugins on Chrome OS"; | 488 "Extensions cannot install plugins on Chrome OS"; |
487 #endif | 489 #endif |
488 } // namespace extension_manifest_errors | 490 } // namespace extension_manifest_errors |
OLD | NEW |