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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 const char kInvalidManifestVersionOld[] = | 275 const char kInvalidManifestVersionOld[] = |
276 "The 'manifest_version' key must be present and set to * (without quotes). " | 276 "The 'manifest_version' key must be present and set to * (without quotes). " |
277 "See developer.chrome.com/*/manifestVersion.html for details."; | 277 "See developer.chrome.com/*/manifestVersion.html for details."; |
278 const char kInvalidMatch[] = | 278 const char kInvalidMatch[] = |
279 "Invalid value for 'content_scripts[*].matches[*]': *"; | 279 "Invalid value for 'content_scripts[*].matches[*]': *"; |
280 const char kInvalidMatchCount[] = | 280 const char kInvalidMatchCount[] = |
281 "Invalid value for 'content_scripts[*].matches'. There must be at least " | 281 "Invalid value for 'content_scripts[*].matches'. There must be at least " |
282 "one match specified."; | 282 "one match specified."; |
283 const char kInvalidMatches[] = | 283 const char kInvalidMatches[] = |
284 "Required value 'content_scripts[*].matches' is missing or invalid."; | 284 "Required value 'content_scripts[*].matches' is missing or invalid."; |
| 285 const char kInvalidMDnsServiceTypes[] = "Invalid MDns service types."; |
285 const char kInvalidMIMETypes[] = | 286 const char kInvalidMIMETypes[] = |
286 "Invalid value for 'mime_types'"; | 287 "Invalid value for 'mime_types'"; |
287 const char kInvalidMimeTypesHandler[] = | 288 const char kInvalidMimeTypesHandler[] = |
288 "Invalid value for 'mime_types'."; | 289 "Invalid value for 'mime_types'."; |
289 const char kInvalidMinimumChromeVersion[] = | 290 const char kInvalidMinimumChromeVersion[] = |
290 "Invalid value for 'minimum_chrome_version'."; | 291 "Invalid value for 'minimum_chrome_version'."; |
291 const char kInvalidName[] = | 292 const char kInvalidName[] = |
292 "Required value 'name' is missing or invalid."; | 293 "Required value 'name' is missing or invalid."; |
293 const char kInvalidNaClModules[] = | 294 const char kInvalidNaClModules[] = |
294 "Invalid value for 'nacl_modules'."; | 295 "Invalid value for 'nacl_modules'."; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 const char kScriptBadgeTitleIgnored[] = | 475 const char kScriptBadgeTitleIgnored[] = |
475 "default_title specified in script_badge manifest section will not be " | 476 "default_title specified in script_badge manifest section will not be " |
476 "used."; | 477 "used."; |
477 const char kWebRequestConflictsWithLazyBackground[] = | 478 const char kWebRequestConflictsWithLazyBackground[] = |
478 "The 'webRequest' API cannot be used with event pages."; | 479 "The 'webRequest' API cannot be used with event pages."; |
479 #if defined(OS_CHROMEOS) | 480 #if defined(OS_CHROMEOS) |
480 const char kIllegalPlugins[] = | 481 const char kIllegalPlugins[] = |
481 "Extensions cannot install plugins on Chrome OS"; | 482 "Extensions cannot install plugins on Chrome OS"; |
482 #endif | 483 #endif |
483 } // namespace extension_manifest_errors | 484 } // namespace extension_manifest_errors |
OLD | NEW |