OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/manifest_constants.h" | 5 #include "extensions/common/manifest_constants.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace manifest_keys { | 9 namespace manifest_keys { |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "chrome_settings_overrides.search_provider"; | 103 "chrome_settings_overrides.search_provider"; |
104 const char kOverrideStartupPage[] = "chrome_settings_overrides.startup_pages"; | 104 const char kOverrideStartupPage[] = "chrome_settings_overrides.startup_pages"; |
105 const char kPageAction[] = "page_action"; | 105 const char kPageAction[] = "page_action"; |
106 const char kPageActionDefaultIcon[] = "default_icon"; | 106 const char kPageActionDefaultIcon[] = "default_icon"; |
107 const char kPageActionDefaultPopup[] = "default_popup"; | 107 const char kPageActionDefaultPopup[] = "default_popup"; |
108 const char kPageActionDefaultTitle[] = "default_title"; | 108 const char kPageActionDefaultTitle[] = "default_title"; |
109 const char kPageActionIcons[] = "icons"; | 109 const char kPageActionIcons[] = "icons"; |
110 const char kPageActionId[] = "id"; | 110 const char kPageActionId[] = "id"; |
111 const char kPageActionPopup[] = "popup"; | 111 const char kPageActionPopup[] = "popup"; |
112 const char kPageActionPopupPath[] = "path"; | 112 const char kPageActionPopupPath[] = "path"; |
113 const char kPageActions[] = "page_actions"; | |
114 const char kPermissions[] = "permissions"; | 113 const char kPermissions[] = "permissions"; |
115 const char kPlatformAppBackground[] = "app.background"; | 114 const char kPlatformAppBackground[] = "app.background"; |
116 const char kPlatformAppBackgroundPage[] = "app.background.page"; | 115 const char kPlatformAppBackgroundPage[] = "app.background.page"; |
117 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; | 116 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; |
118 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; | 117 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; |
119 const char kPlatforms[] = "platforms"; | 118 const char kPlatforms[] = "platforms"; |
120 const char kPlugins[] = "plugins"; | 119 const char kPlugins[] = "plugins"; |
121 const char kPluginsPath[] = "path"; | 120 const char kPluginsPath[] = "path"; |
122 const char kPluginsPublic[] = "public"; | 121 const char kPluginsPublic[] = "public"; |
123 const char kPublicKey[] = "key"; | 122 const char kPublicKey[] = "key"; |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 "Required value 'id' is missing or invalid."; | 537 "Required value 'id' is missing or invalid."; |
539 const char kInvalidPageActionName[] = | 538 const char kInvalidPageActionName[] = |
540 "Invalid value for 'page_action.name'."; | 539 "Invalid value for 'page_action.name'."; |
541 const char kInvalidPageActionOldAndNewKeys[] = | 540 const char kInvalidPageActionOldAndNewKeys[] = |
542 "Key \"*\" is deprecated. Key \"*\" has the same meaning. You can not " | 541 "Key \"*\" is deprecated. Key \"*\" has the same meaning. You can not " |
543 "use both."; | 542 "use both."; |
544 const char kInvalidPageActionPopup[] = | 543 const char kInvalidPageActionPopup[] = |
545 "Invalid type for page action popup."; | 544 "Invalid type for page action popup."; |
546 const char kInvalidPageActionPopupPath[] = | 545 const char kInvalidPageActionPopupPath[] = |
547 "Invalid value for page action popup path [*]."; | 546 "Invalid value for page action popup path [*]."; |
548 const char kInvalidPageActionsList[] = | |
549 "Invalid value for 'page_actions'."; | |
550 const char kInvalidPageActionsListSize[] = | |
551 "Invalid value for 'page_actions'. There can be at most one page action."; | |
552 const char kInvalidPageActionTypeValue[] = | |
553 "Invalid value for 'page_actions[*].type', expected 'tab' or 'permanent'."; | |
554 const char kInvalidPermissionWithDetail[] = | 547 const char kInvalidPermissionWithDetail[] = |
555 "Invalid value for 'permissions[*]': *."; | 548 "Invalid value for 'permissions[*]': *."; |
556 const char kInvalidPermission[] = | 549 const char kInvalidPermission[] = |
557 "Invalid value for 'permissions[*]'."; | 550 "Invalid value for 'permissions[*]'."; |
558 const char kInvalidPermissions[] = | 551 const char kInvalidPermissions[] = |
559 "Invalid value for 'permissions'."; | 552 "Invalid value for 'permissions'."; |
560 const char kInvalidPermissionScheme[] = | 553 const char kInvalidPermissionScheme[] = |
561 "Invalid scheme for 'permissions[*]'."; | 554 "Invalid scheme for 'permissions[*]'."; |
562 const char kInvalidPlugins[] = | 555 const char kInvalidPlugins[] = |
563 "Invalid value for 'plugins'."; | 556 "Invalid value for 'plugins'."; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 const char kWebRequestConflictsWithLazyBackground[] = | 725 const char kWebRequestConflictsWithLazyBackground[] = |
733 "The 'webRequest' API cannot be used with event pages."; | 726 "The 'webRequest' API cannot be used with event pages."; |
734 #if defined(OS_CHROMEOS) | 727 #if defined(OS_CHROMEOS) |
735 const char kIllegalPlugins[] = | 728 const char kIllegalPlugins[] = |
736 "Extensions cannot install plugins on Chrome OS"; | 729 "Extensions cannot install plugins on Chrome OS"; |
737 #endif | 730 #endif |
738 | 731 |
739 } // namespace manifest_errors | 732 } // namespace manifest_errors |
740 | 733 |
741 } // namespace extensions | 734 } // namespace extensions |
OLD | NEW |