| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 " 'chromeos', 'linux' and 'default'."; | 322 " 'chromeos', 'linux' and 'default'."; |
| 323 const char kInvalidLaunchContainer[] = | 323 const char kInvalidLaunchContainer[] = |
| 324 "Invalid value for 'app.launch.container'."; | 324 "Invalid value for 'app.launch.container'."; |
| 325 const char kInvalidLaunchValue[] = | 325 const char kInvalidLaunchValue[] = |
| 326 "Invalid value for '*'."; | 326 "Invalid value for '*'."; |
| 327 const char kInvalidLaunchValueContainer[] = | 327 const char kInvalidLaunchValueContainer[] = |
| 328 "Invalid container type for '*'."; | 328 "Invalid container type for '*'."; |
| 329 const char kInvalidManifest[] = | 329 const char kInvalidManifest[] = |
| 330 "Manifest file is invalid."; | 330 "Manifest file is invalid."; |
| 331 const char kInvalidManifestVersion[] = | 331 const char kInvalidManifestVersion[] = |
| 332 "The 'manifest_version' key must be present and set to 2 (without quotes)."; | 332 "Invalid value for 'manifest_version'. Must be an integer greater than zero.
"; |
| 333 const char kInvalidManifestVersionOld[] = |
| 334 "The 'manifest_version' key must be present and set to 2 (without quotes). " |
| 335 "See developer.chrome.com/extensions/manifestVersion.html for details."; |
| 333 const char kInvalidMatch[] = | 336 const char kInvalidMatch[] = |
| 334 "Invalid value for 'content_scripts[*].matches[*]': *"; | 337 "Invalid value for 'content_scripts[*].matches[*]': *"; |
| 335 const char kInvalidMatchCount[] = | 338 const char kInvalidMatchCount[] = |
| 336 "Invalid value for 'content_scripts[*].matches'. There must be at least " | 339 "Invalid value for 'content_scripts[*].matches'. There must be at least " |
| 337 "one match specified."; | 340 "one match specified."; |
| 338 const char kInvalidMatches[] = | 341 const char kInvalidMatches[] = |
| 339 "Required value 'content_scripts[*].matches' is missing or invalid."; | 342 "Required value 'content_scripts[*].matches' is missing or invalid."; |
| 340 const char kInvalidMinimumChromeVersion[] = | 343 const char kInvalidMinimumChromeVersion[] = |
| 341 "Invalid value for 'minimum_chrome_version'."; | 344 "Invalid value for 'minimum_chrome_version'."; |
| 342 const char kInvalidName[] = | 345 const char kInvalidName[] = |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 const char kScriptBadgeTitleIgnored[] = | 498 const char kScriptBadgeTitleIgnored[] = |
| 496 "default_title specified in script_badge manifest section will not be " | 499 "default_title specified in script_badge manifest section will not be " |
| 497 "used."; | 500 "used."; |
| 498 const char kWebRequestConflictsWithLazyBackground[] = | 501 const char kWebRequestConflictsWithLazyBackground[] = |
| 499 "The 'webRequest' API cannot be used with event pages."; | 502 "The 'webRequest' API cannot be used with event pages."; |
| 500 #if defined(OS_CHROMEOS) | 503 #if defined(OS_CHROMEOS) |
| 501 const char kIllegalPlugins[] = | 504 const char kIllegalPlugins[] = |
| 502 "Extensions cannot install plugins on Chrome OS"; | 505 "Extensions cannot install plugins on Chrome OS"; |
| 503 #endif | 506 #endif |
| 504 } // namespace extension_manifest_errors | 507 } // namespace extension_manifest_errors |
| OLD | NEW |