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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 const char kPageActionIcons[] = "icons"; | 106 const char kPageActionIcons[] = "icons"; |
107 const char kPageActionId[] = "id"; | 107 const char kPageActionId[] = "id"; |
108 const char kPageActionPopup[] = "popup"; | 108 const char kPageActionPopup[] = "popup"; |
109 const char kPageActionPopupPath[] = "path"; | 109 const char kPageActionPopupPath[] = "path"; |
110 const char kPageActions[] = "page_actions"; | 110 const char kPageActions[] = "page_actions"; |
111 const char kPermissions[] = "permissions"; | 111 const char kPermissions[] = "permissions"; |
112 const char kPlatformAppBackground[] = "app.background"; | 112 const char kPlatformAppBackground[] = "app.background"; |
113 const char kPlatformAppBackgroundPage[] = "app.background.page"; | 113 const char kPlatformAppBackgroundPage[] = "app.background.page"; |
114 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; | 114 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; |
115 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; | 115 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; |
116 const char kPlatformAppServiceWorker[] = "app.service_worker"; | |
117 const char kPlatformAppServiceWorkerScript[] = "app.service_worker.script"; | |
118 const char kPlugins[] = "plugins"; | 116 const char kPlugins[] = "plugins"; |
119 const char kPluginsPath[] = "path"; | 117 const char kPluginsPath[] = "path"; |
120 const char kPluginsPublic[] = "public"; | 118 const char kPluginsPublic[] = "public"; |
121 const char kPublicKey[] = "key"; | 119 const char kPublicKey[] = "key"; |
122 const char kRemoveButton[] = "remove_button"; | 120 const char kRemoveButton[] = "remove_button"; |
123 const char kResources[] = "resources"; | 121 const char kResources[] = "resources"; |
124 const char kRequirements[] = "requirements"; | 122 const char kRequirements[] = "requirements"; |
125 const char kRunAt[] = "run_at"; | 123 const char kRunAt[] = "run_at"; |
126 const char kSandboxedPages[] = "sandbox.pages"; | 124 const char kSandboxedPages[] = "sandbox.pages"; |
127 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; | 125 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 "Invalid value for 'sandbox.pages[*]'."; | 569 "Invalid value for 'sandbox.pages[*]'."; |
572 const char kInvalidSandboxedPagesCSP[] = | 570 const char kInvalidSandboxedPagesCSP[] = |
573 "Invalid value for 'sandbox.content_security_policy'."; | 571 "Invalid value for 'sandbox.content_security_policy'."; |
574 const char kInvalidScriptBadge[] = | 572 const char kInvalidScriptBadge[] = |
575 "Invalid value for 'script_badge'."; | 573 "Invalid value for 'script_badge'."; |
576 const char kInvalidSearchEngineMissingKeys[] = | 574 const char kInvalidSearchEngineMissingKeys[] = |
577 "Missing mandatory parameters for " | 575 "Missing mandatory parameters for " |
578 "'chrome_settings_overrides.search_provider'."; | 576 "'chrome_settings_overrides.search_provider'."; |
579 const char kInvalidSearchEngineURL[] = | 577 const char kInvalidSearchEngineURL[] = |
580 "Invalid URL [*] for 'chrome_settings_overrides.search_provider'."; | 578 "Invalid URL [*] for 'chrome_settings_overrides.search_provider'."; |
581 const char kInvalidServiceWorkerScript[] = | |
582 "Invalid value for 'service_worker.script'."; | |
583 const char kInvalidShortName[] = | 579 const char kInvalidShortName[] = |
584 "Invalid value for 'short_name'."; | 580 "Invalid value for 'short_name'."; |
585 const char kInvalidSignature[] = | 581 const char kInvalidSignature[] = |
586 "Value 'signature' is missing or invalid."; | 582 "Value 'signature' is missing or invalid."; |
587 const char kInvalidSpellcheck[] = | 583 const char kInvalidSpellcheck[] = |
588 "Invalid value for 'spellcheck'."; | 584 "Invalid value for 'spellcheck'."; |
589 const char kInvalidSpellcheckDictionaryFormat[] = | 585 const char kInvalidSpellcheckDictionaryFormat[] = |
590 "Invalid value for spellcheck dictionary format."; | 586 "Invalid value for spellcheck dictionary format."; |
591 const char kInvalidSpellcheckDictionaryLanguage[] = | 587 const char kInvalidSpellcheckDictionaryLanguage[] = |
592 "Invalid value for spellcheck dictionary language."; | 588 "Invalid value for spellcheck dictionary language."; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 const char kReservedMessageFound[] = | 711 const char kReservedMessageFound[] = |
716 "Reserved key * found in message catalog."; | 712 "Reserved key * found in message catalog."; |
717 const char kScriptBadgeRequiresFlag[] = | 713 const char kScriptBadgeRequiresFlag[] = |
718 "The script_badge manifest key is turned off by default. " | 714 "The script_badge manifest key is turned off by default. " |
719 "You can enable it with the --enable-script-badges command-line flag."; | 715 "You can enable it with the --enable-script-badges command-line flag."; |
720 const char kScriptBadgeIconIgnored[] = | 716 const char kScriptBadgeIconIgnored[] = |
721 "default_icon specified in script_badge manifest section will not be used."; | 717 "default_icon specified in script_badge manifest section will not be used."; |
722 const char kScriptBadgeTitleIgnored[] = | 718 const char kScriptBadgeTitleIgnored[] = |
723 "default_title specified in script_badge manifest section will not be " | 719 "default_title specified in script_badge manifest section will not be " |
724 "used."; | 720 "used."; |
725 const char kServiceWorkerRequiresFlag[] = | |
726 "Service worker features require " | |
727 "--enable-experimental-web-platform-features command-line flag."; | |
728 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'."; | 721 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'."; |
729 const char kUnrecognizedManifestProperty[] = | 722 const char kUnrecognizedManifestProperty[] = |
730 "Unrecognized property '*' of manifest key '*'."; | 723 "Unrecognized property '*' of manifest key '*'."; |
731 const char kWebRequestConflictsWithLazyBackground[] = | 724 const char kWebRequestConflictsWithLazyBackground[] = |
732 "The 'webRequest' API cannot be used with event pages."; | 725 "The 'webRequest' API cannot be used with event pages."; |
733 #if defined(OS_CHROMEOS) | 726 #if defined(OS_CHROMEOS) |
734 const char kIllegalPlugins[] = | 727 const char kIllegalPlugins[] = |
735 "Extensions cannot install plugins on Chrome OS"; | 728 "Extensions cannot install plugins on Chrome OS"; |
736 #endif | 729 #endif |
737 | 730 |
738 } // namespace manifest_errors | 731 } // namespace manifest_errors |
739 | 732 |
740 } // namespace extensions | 733 } // namespace extensions |
OLD | NEW |