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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 const char kMissingFile[] = | 512 const char kMissingFile[] = |
513 "At least one js or css file is required for 'content_scripts[*]'."; | 513 "At least one js or css file is required for 'content_scripts[*]'."; |
514 const char kMultipleOverrides[] = | 514 const char kMultipleOverrides[] = |
515 "An extension cannot override more than one page."; | 515 "An extension cannot override more than one page."; |
516 const char kNoWildCardsInPaths[] = | 516 const char kNoWildCardsInPaths[] = |
517 "Wildcards are not allowed in extent URL pattern paths."; | 517 "Wildcards are not allowed in extent URL pattern paths."; |
518 const char kOneUISurfaceOnly[] = | 518 const char kOneUISurfaceOnly[] = |
519 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; | 519 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; |
520 const char kPermissionNotAllowed[] = | 520 const char kPermissionNotAllowed[] = |
521 "Access to permission '*' denied."; | 521 "Access to permission '*' denied."; |
| 522 const char kPermissionNotAllowedInManifest[] = |
| 523 "Permission '*' cannot be specified in the manifest."; |
522 const char kPlatformAppNeedsManifestVersion2[] = | 524 const char kPlatformAppNeedsManifestVersion2[] = |
523 "Packaged apps need manifest_version set to >= 2"; | 525 "Packaged apps need manifest_version set to >= 2"; |
524 const char kReservedMessageFound[] = | 526 const char kReservedMessageFound[] = |
525 "Reserved key * found in message catalog."; | 527 "Reserved key * found in message catalog."; |
526 const char kScriptBadgeRequiresFlag[] = | 528 const char kScriptBadgeRequiresFlag[] = |
527 "The script_badge manifest key is turned off by default. " | 529 "The script_badge manifest key is turned off by default. " |
528 "You can enable it with the --enable-script-badges command-line flag."; | 530 "You can enable it with the --enable-script-badges command-line flag."; |
529 const char kScriptBadgeIconIgnored[] = | 531 const char kScriptBadgeIconIgnored[] = |
530 "default_icon specified in script_badge manifest section will not be used."; | 532 "default_icon specified in script_badge manifest section will not be used."; |
531 const char kScriptBadgeTitleIgnored[] = | 533 const char kScriptBadgeTitleIgnored[] = |
532 "default_title specified in script_badge manifest section will not be " | 534 "default_title specified in script_badge manifest section will not be " |
533 "used."; | 535 "used."; |
534 const char kWebRequestConflictsWithLazyBackground[] = | 536 const char kWebRequestConflictsWithLazyBackground[] = |
535 "The 'webRequest' API cannot be used with event pages."; | 537 "The 'webRequest' API cannot be used with event pages."; |
536 #if defined(OS_CHROMEOS) | 538 #if defined(OS_CHROMEOS) |
537 const char kIllegalPlugins[] = | 539 const char kIllegalPlugins[] = |
538 "Extensions cannot install plugins on Chrome OS"; | 540 "Extensions cannot install plugins on Chrome OS"; |
539 #endif | 541 #endif |
540 } // namespace extension_manifest_errors | 542 } // namespace extension_manifest_errors |
OLD | NEW |