| 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 const char kInvalidWebAccessibleResourcesList[] = | 445 const char kInvalidWebAccessibleResourcesList[] = |
| 446 "Invalid value for 'web_accessible_resources'."; | 446 "Invalid value for 'web_accessible_resources'."; |
| 447 const char kInvalidWebAccessibleResource[] = | 447 const char kInvalidWebAccessibleResource[] = |
| 448 "Invalid value for 'web_accessible_resources[*]'."; | 448 "Invalid value for 'web_accessible_resources[*]'."; |
| 449 const char kInvalidWebURL[] = | 449 const char kInvalidWebURL[] = |
| 450 "Invalid value for 'app.urls[*]': *"; | 450 "Invalid value for 'app.urls[*]': *"; |
| 451 const char kInvalidWebURLs[] = | 451 const char kInvalidWebURLs[] = |
| 452 "Invalid value for 'app.urls'."; | 452 "Invalid value for 'app.urls'."; |
| 453 const char kInvalidZipHash[] = | 453 const char kInvalidZipHash[] = |
| 454 "Required key 'zip_hash' is missing or invalid."; | 454 "Required key 'zip_hash' is missing or invalid."; |
| 455 const char kInsecureContentSecurityPolicy[] = |
| 456 "Invalid value for 'content_security_policy': The 'script-src' and" |
| 457 " 'object-src' directives can only whitelist secure resources. You may" |
| 458 " include any of the following sources: \"'self'\", \"http://127.0.0.1\"," |
| 459 " \"http://localhost\", or any \"https://\" or \"chrome-extension://\"" |
| 460 " origin. For more information, see" |
| 461 " http://developer.chrome.com/extensions/contentSecurityPolicy.html"; |
| 455 const char kLaunchPathAndExtentAreExclusive[] = | 462 const char kLaunchPathAndExtentAreExclusive[] = |
| 456 "The 'app.launch.local_path' and 'app.urls' keys cannot both be set."; | 463 "The 'app.launch.local_path' and 'app.urls' keys cannot both be set."; |
| 457 const char kLaunchPathAndURLAreExclusive[] = | 464 const char kLaunchPathAndURLAreExclusive[] = |
| 458 "The 'app.launch.local_path' and 'app.launch.web_url' keys cannot " | 465 "The 'app.launch.local_path' and 'app.launch.web_url' keys cannot " |
| 459 "both be set."; | 466 "both be set."; |
| 460 const char kLaunchURLRequired[] = | 467 const char kLaunchURLRequired[] = |
| 461 "Either 'app.launch.local_path' or 'app.launch.web_url' is required."; | 468 "Either 'app.launch.local_path' or 'app.launch.web_url' is required."; |
| 462 const char kLocalesMessagesFileMissing[] = | 469 const char kLocalesMessagesFileMissing[] = |
| 463 "Messages file is missing for locale."; | 470 "Messages file is missing for locale."; |
| 464 const char kLocalesNoDefaultLocaleSpecified[] = | 471 const char kLocalesNoDefaultLocaleSpecified[] = |
| (...skipping 30 matching lines...) Expand all Loading... |
| 495 const char kScriptBadgeTitleIgnored[] = | 502 const char kScriptBadgeTitleIgnored[] = |
| 496 "default_title specified in script_badge manifest section will not be " | 503 "default_title specified in script_badge manifest section will not be " |
| 497 "used."; | 504 "used."; |
| 498 const char kWebRequestConflictsWithLazyBackground[] = | 505 const char kWebRequestConflictsWithLazyBackground[] = |
| 499 "The 'webRequest' API cannot be used with event pages."; | 506 "The 'webRequest' API cannot be used with event pages."; |
| 500 #if defined(OS_CHROMEOS) | 507 #if defined(OS_CHROMEOS) |
| 501 const char kIllegalPlugins[] = | 508 const char kIllegalPlugins[] = |
| 502 "Extensions cannot install plugins on Chrome OS"; | 509 "Extensions cannot install plugins on Chrome OS"; |
| 503 #endif | 510 #endif |
| 504 } // namespace extension_manifest_errors | 511 } // namespace extension_manifest_errors |
| OLD | NEW |