| 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."; | |
| 524 const char kPlatformAppNeedsManifestVersion2[] = | 522 const char kPlatformAppNeedsManifestVersion2[] = |
| 525 "Packaged apps need manifest_version set to >= 2"; | 523 "Packaged apps need manifest_version set to >= 2"; |
| 526 const char kReservedMessageFound[] = | 524 const char kReservedMessageFound[] = |
| 527 "Reserved key * found in message catalog."; | 525 "Reserved key * found in message catalog."; |
| 528 const char kScriptBadgeRequiresFlag[] = | 526 const char kScriptBadgeRequiresFlag[] = |
| 529 "The script_badge manifest key is turned off by default. " | 527 "The script_badge manifest key is turned off by default. " |
| 530 "You can enable it with the --enable-script-badges command-line flag."; | 528 "You can enable it with the --enable-script-badges command-line flag."; |
| 531 const char kScriptBadgeIconIgnored[] = | 529 const char kScriptBadgeIconIgnored[] = |
| 532 "default_icon specified in script_badge manifest section will not be used."; | 530 "default_icon specified in script_badge manifest section will not be used."; |
| 533 const char kScriptBadgeTitleIgnored[] = | 531 const char kScriptBadgeTitleIgnored[] = |
| 534 "default_title specified in script_badge manifest section will not be " | 532 "default_title specified in script_badge manifest section will not be " |
| 535 "used."; | 533 "used."; |
| 536 const char kWebRequestConflictsWithLazyBackground[] = | 534 const char kWebRequestConflictsWithLazyBackground[] = |
| 537 "The 'webRequest' API cannot be used with event pages."; | 535 "The 'webRequest' API cannot be used with event pages."; |
| 538 #if defined(OS_CHROMEOS) | 536 #if defined(OS_CHROMEOS) |
| 539 const char kIllegalPlugins[] = | 537 const char kIllegalPlugins[] = |
| 540 "Extensions cannot install plugins on Chrome OS"; | 538 "Extensions cannot install plugins on Chrome OS"; |
| 541 #endif | 539 #endif |
| 542 } // namespace extension_manifest_errors | 540 } // namespace extension_manifest_errors |
| OLD | NEW |