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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 "Too many shortcuts specified for 'commands': The maximum is *."; | 458 "Too many shortcuts specified for 'commands': The maximum is *."; |
459 const char kInvalidKeyBindingUnknownPlatform[] = | 459 const char kInvalidKeyBindingUnknownPlatform[] = |
460 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" | 460 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" |
461 " 'chromeos', 'linux' and 'default'."; | 461 " 'chromeos', 'linux' and 'default'."; |
462 const char kInvalidKioskEnabled[] = | 462 const char kInvalidKioskEnabled[] = |
463 "Invalid value for 'kiosk_enabled'."; | 463 "Invalid value for 'kiosk_enabled'."; |
464 const char kInvalidKioskOnly[] = | 464 const char kInvalidKioskOnly[] = |
465 "Invalid value for 'kiosk_only'."; | 465 "Invalid value for 'kiosk_only'."; |
466 const char kInvalidKioskOnlyButNotEnabled[] = | 466 const char kInvalidKioskOnlyButNotEnabled[] = |
467 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set."; | 467 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set."; |
| 468 const char kInvalidLauncherPage[] = "Invalid value for 'launcher_page'."; |
| 469 const char kInvalidLauncherPagePage[] = |
| 470 "Invalid value for 'launcher_page.page'."; |
468 const char kInvalidLaunchContainer[] = | 471 const char kInvalidLaunchContainer[] = |
469 "Invalid value for 'app.launch.container'."; | 472 "Invalid value for 'app.launch.container'."; |
470 const char kInvalidLaunchValue[] = | 473 const char kInvalidLaunchValue[] = |
471 "Invalid value for '*'."; | 474 "Invalid value for '*'."; |
472 const char kInvalidLaunchValueContainer[] = | 475 const char kInvalidLaunchValueContainer[] = |
473 "Invalid container type for '*'."; | 476 "Invalid container type for '*'."; |
474 const char kInvalidManifest[] = | 477 const char kInvalidManifest[] = |
475 "Manifest file is invalid."; | 478 "Manifest file is invalid."; |
476 const char kInvalidManifestVersion[] = | 479 const char kInvalidManifestVersion[] = |
477 "Invalid value for 'manifest_version'. Must be an integer greater than " | 480 "Invalid value for 'manifest_version'. Must be an integer greater than " |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 const char kInsecureContentSecurityPolicy[] = | 662 const char kInsecureContentSecurityPolicy[] = |
660 "Invalid value for 'content_security_policy': Both 'script-src' and" | 663 "Invalid value for 'content_security_policy': Both 'script-src' and" |
661 " 'object-src' directives must be specified (either explicitly, or" | 664 " 'object-src' directives must be specified (either explicitly, or" |
662 " implicitly via 'default-src'), and both must whitelist only secure" | 665 " implicitly via 'default-src'), and both must whitelist only secure" |
663 " resources. You may include any of the following sources: \"'self'\"," | 666 " resources. You may include any of the following sources: \"'self'\"," |
664 " \"'unsafe-eval'\", \"http://127.0.0.1\", \"http://localhost\", or any" | 667 " \"'unsafe-eval'\", \"http://127.0.0.1\", \"http://localhost\", or any" |
665 " \"https://\" or \"chrome-extension://\" origin. For more information," | 668 " \"https://\" or \"chrome-extension://\" origin. For more information," |
666 " see http://developer.chrome.com/extensions/contentSecurityPolicy.html"; | 669 " see http://developer.chrome.com/extensions/contentSecurityPolicy.html"; |
667 const char kKeyIsDeprecatedWithReplacement[] = | 670 const char kKeyIsDeprecatedWithReplacement[] = |
668 "Key \"*\" is deprecated. Key \"*\" should be used instead."; | 671 "Key \"*\" is deprecated. Key \"*\" should be used instead."; |
| 672 const char kLauncherPagePageRequired[] = |
| 673 "The 'launcher_page.page' key is required."; |
669 const char kLaunchPathAndExtentAreExclusive[] = | 674 const char kLaunchPathAndExtentAreExclusive[] = |
670 "The 'app.launch.local_path' and 'app.urls' keys cannot both be set."; | 675 "The 'app.launch.local_path' and 'app.urls' keys cannot both be set."; |
671 const char kLaunchPathAndURLAreExclusive[] = | 676 const char kLaunchPathAndURLAreExclusive[] = |
672 "The 'app.launch.local_path' and 'app.launch.web_url' keys cannot " | 677 "The 'app.launch.local_path' and 'app.launch.web_url' keys cannot " |
673 "both be set."; | 678 "both be set."; |
674 const char kLaunchURLRequired[] = | 679 const char kLaunchURLRequired[] = |
675 "Either 'app.launch.local_path' or 'app.launch.web_url' is required."; | 680 "Either 'app.launch.local_path' or 'app.launch.web_url' is required."; |
676 const char kLocalesInvalidLocale[] = | 681 const char kLocalesInvalidLocale[] = |
677 "Invalid locale file '*': *"; | 682 "Invalid locale file '*': *"; |
678 const char kLocalesMessagesFileMissing[] = | 683 const char kLocalesMessagesFileMissing[] = |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 const char kWebRequestConflictsWithLazyBackground[] = | 731 const char kWebRequestConflictsWithLazyBackground[] = |
727 "The 'webRequest' API cannot be used with event pages."; | 732 "The 'webRequest' API cannot be used with event pages."; |
728 #if defined(OS_CHROMEOS) | 733 #if defined(OS_CHROMEOS) |
729 const char kIllegalPlugins[] = | 734 const char kIllegalPlugins[] = |
730 "Extensions cannot install plugins on Chrome OS"; | 735 "Extensions cannot install plugins on Chrome OS"; |
731 #endif | 736 #endif |
732 | 737 |
733 } // namespace manifest_errors | 738 } // namespace manifest_errors |
734 | 739 |
735 } // namespace extensions | 740 } // namespace extensions |
OLD | NEW |