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