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_values { | 7 namespace extension_manifest_values { |
8 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; | 8 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; |
9 const char kIncognitoSplit[] = "split"; | 9 const char kIncognitoSplit[] = "split"; |
10 const char kIncognitoSpanning[] = "spanning"; | 10 const char kIncognitoSpanning[] = "spanning"; |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 const char kNoWildCardsInPaths[] = | 455 const char kNoWildCardsInPaths[] = |
456 "Wildcards are not allowed in extent URL pattern paths."; | 456 "Wildcards are not allowed in extent URL pattern paths."; |
457 const char kOneUISurfaceOnly[] = | 457 const char kOneUISurfaceOnly[] = |
458 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; | 458 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; |
459 const char kPermissionMustBeOptional[] = | 459 const char kPermissionMustBeOptional[] = |
460 "Permission '*' must be specified in the optional section of the manifest."; | 460 "Permission '*' must be specified in the optional section of the manifest."; |
461 const char kPermissionNotAllowed[] = | 461 const char kPermissionNotAllowed[] = |
462 "Access to permission '*' denied."; | 462 "Access to permission '*' denied."; |
463 const char kPermissionNotAllowedInManifest[] = | 463 const char kPermissionNotAllowedInManifest[] = |
464 "Permission '*' cannot be specified in the manifest."; | 464 "Permission '*' cannot be specified in the manifest."; |
| 465 const char kPermissionUnknownOrMalformed[] = |
| 466 "Permission '*' is unknown or URL pattern is malformed."; |
465 const char kReservedMessageFound[] = | 467 const char kReservedMessageFound[] = |
466 "Reserved key * found in message catalog."; | 468 "Reserved key * found in message catalog."; |
467 const char kScriptBadgeRequiresFlag[] = | 469 const char kScriptBadgeRequiresFlag[] = |
468 "The script_badge manifest key is turned off by default. " | 470 "The script_badge manifest key is turned off by default. " |
469 "You can enable it with the --enable-script-badges command-line flag."; | 471 "You can enable it with the --enable-script-badges command-line flag."; |
470 const char kScriptBadgeIconIgnored[] = | 472 const char kScriptBadgeIconIgnored[] = |
471 "default_icon specified in script_badge manifest section will not be used."; | 473 "default_icon specified in script_badge manifest section will not be used."; |
472 const char kScriptBadgeTitleIgnored[] = | 474 const char kScriptBadgeTitleIgnored[] = |
473 "default_title specified in script_badge manifest section will not be " | 475 "default_title specified in script_badge manifest section will not be " |
474 "used."; | 476 "used."; |
| 477 const char kUnrecognizedManifestKey[] = "Unrecognized manifest key '*'."; |
475 const char kWebRequestConflictsWithLazyBackground[] = | 478 const char kWebRequestConflictsWithLazyBackground[] = |
476 "The 'webRequest' API cannot be used with event pages."; | 479 "The 'webRequest' API cannot be used with event pages."; |
477 #if defined(OS_CHROMEOS) | 480 #if defined(OS_CHROMEOS) |
478 const char kIllegalPlugins[] = | 481 const char kIllegalPlugins[] = |
479 "Extensions cannot install plugins on Chrome OS"; | 482 "Extensions cannot install plugins on Chrome OS"; |
480 #endif | 483 #endif |
481 } // namespace extension_manifest_errors | 484 } // namespace extension_manifest_errors |
OLD | NEW |