| 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 12 matching lines...) Expand all Loading... |
| 23 const char kConvertedFromUserScript[] = "converted_from_user_script"; | 23 const char kConvertedFromUserScript[] = "converted_from_user_script"; |
| 24 const char kCss[] = "css"; | 24 const char kCss[] = "css"; |
| 25 const char kCtrlKey[] = "ctrlKey"; | 25 const char kCtrlKey[] = "ctrlKey"; |
| 26 const char kCurrentLocale[] = "current_locale"; | 26 const char kCurrentLocale[] = "current_locale"; |
| 27 const char kDefaultLocale[] = "default_locale"; | 27 const char kDefaultLocale[] = "default_locale"; |
| 28 const char kDescription[] = "description"; | 28 const char kDescription[] = "description"; |
| 29 const char kDevToolsPage[] = "devtools_page"; | 29 const char kDevToolsPage[] = "devtools_page"; |
| 30 const char kEventName[] = "event_name"; | 30 const char kEventName[] = "event_name"; |
| 31 const char kExcludeGlobs[] = "exclude_globs"; | 31 const char kExcludeGlobs[] = "exclude_globs"; |
| 32 const char kExcludeMatches[] = "exclude_matches"; | 32 const char kExcludeMatches[] = "exclude_matches"; |
| 33 const char kFileAccessList[] = "file_access"; |
| 33 const char kFileFilters[] = "file_filters"; | 34 const char kFileFilters[] = "file_filters"; |
| 34 const char kFileBrowserHandlers[] = "file_browser_handlers"; | 35 const char kFileBrowserHandlers[] = "file_browser_handlers"; |
| 35 const char kHomepageURL[] = "homepage_url"; | 36 const char kHomepageURL[] = "homepage_url"; |
| 36 const char kIcons[] = "icons"; | 37 const char kIcons[] = "icons"; |
| 37 const char kId[] = "id"; | 38 const char kId[] = "id"; |
| 38 const char kIncognito[] = "incognito"; | 39 const char kIncognito[] = "incognito"; |
| 39 const char kIncludeGlobs[] = "include_globs"; | 40 const char kIncludeGlobs[] = "include_globs"; |
| 40 const char kInputComponents[] = "input_components"; | 41 const char kInputComponents[] = "input_components"; |
| 41 const char kIntentDisposition[] = "disposition"; | 42 const char kIntentDisposition[] = "disposition"; |
| 42 const char kIntentHref[] = "href"; | 43 const char kIntentHref[] = "href"; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 const char kInvalidDefaultLocale[] = | 218 const char kInvalidDefaultLocale[] = |
| 218 "Invalid value for default locale - locale name must be a string."; | 219 "Invalid value for default locale - locale name must be a string."; |
| 219 const char kInvalidDescription[] = | 220 const char kInvalidDescription[] = |
| 220 "Invalid value for 'description'."; | 221 "Invalid value for 'description'."; |
| 221 const char kInvalidDevToolsPage[] = | 222 const char kInvalidDevToolsPage[] = |
| 222 "Invalid value for 'devtools_page'."; | 223 "Invalid value for 'devtools_page'."; |
| 223 const char kInvalidExcludeMatch[] = | 224 const char kInvalidExcludeMatch[] = |
| 224 "Invalid value for 'content_scripts[*].exclude_matches[*]': *"; | 225 "Invalid value for 'content_scripts[*].exclude_matches[*]': *"; |
| 225 const char kInvalidExcludeMatches[] = | 226 const char kInvalidExcludeMatches[] = |
| 226 "Invalid value for 'content_scripts[*].exclude_matches'."; | 227 "Invalid value for 'content_scripts[*].exclude_matches'."; |
| 228 const char kInvalidFileAccessList[] = |
| 229 "Invalid value for 'file_access'."; |
| 230 const char kInvalidFileAccessValue[] = |
| 231 "Invalid value for 'file_access[*]'."; |
| 227 const char kInvalidFileBrowserHandler[] = | 232 const char kInvalidFileBrowserHandler[] = |
| 228 "Invalid value for 'file_browser_handers'."; | 233 "Invalid value for 'file_browser_handers'."; |
| 229 const char kInvalidFileFiltersList[] = | 234 const char kInvalidFileFiltersList[] = |
| 230 "Invalid value for 'file_filters'."; | 235 "Invalid value for 'file_filters'."; |
| 231 const char kInvalidFileFilterValue[] = | 236 const char kInvalidFileFilterValue[] = |
| 232 "Invalid value for 'file_filters[*]'."; | 237 "Invalid value for 'file_filters[*]'."; |
| 233 const char kInvalidGlob[] = | 238 const char kInvalidGlob[] = |
| 234 "Invalid value for 'content_scripts[*].*[*]'."; | 239 "Invalid value for 'content_scripts[*].*[*]'."; |
| 235 const char kInvalidGlobList[] = | 240 const char kInvalidGlobList[] = |
| 236 "Invalid value for 'content_scripts[*].*'."; | 241 "Invalid value for 'content_scripts[*].*'."; |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 "Loading platform_app extension type is turned off by default. " | 464 "Loading platform_app extension type is turned off by default. " |
| 460 "You can enable this type with the --enable-platform-apps " | 465 "You can enable this type with the --enable-platform-apps " |
| 461 "command-line flag."; | 466 "command-line flag."; |
| 462 const char kReservedMessageFound[] = | 467 const char kReservedMessageFound[] = |
| 463 "Reserved key * found in message catalog."; | 468 "Reserved key * found in message catalog."; |
| 464 #if defined(OS_CHROMEOS) | 469 #if defined(OS_CHROMEOS) |
| 465 const char kIllegalPlugins[] = | 470 const char kIllegalPlugins[] = |
| 466 "Extensions cannot install plugins on Chrome OS"; | 471 "Extensions cannot install plugins on Chrome OS"; |
| 467 #endif | 472 #endif |
| 468 } // namespace extension_manifest_errors | 473 } // namespace extension_manifest_errors |
| OLD | NEW |