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 15 matching lines...) Expand all Loading... |
26 const char kDefaultLocale[] = "default_locale"; | 26 const char kDefaultLocale[] = "default_locale"; |
27 const char kDescription[] = "description"; | 27 const char kDescription[] = "description"; |
28 const char kDevToolsPage[] = "devtools_page"; | 28 const char kDevToolsPage[] = "devtools_page"; |
29 const char kDisplayInLauncher[] = "display_in_launcher"; | 29 const char kDisplayInLauncher[] = "display_in_launcher"; |
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 kFileAccessList[] = "file_access"; |
34 const char kFileFilters[] = "file_filters"; | 34 const char kFileFilters[] = "file_filters"; |
35 const char kFileBrowserHandlers[] = "file_browser_handlers"; | 35 const char kFileBrowserHandlers[] = "file_browser_handlers"; |
| 36 const char kFileHandlers[] = "file_handlers"; |
| 37 const char kFileHandlerTitle[] = "title"; |
| 38 const char kFileHandlerTypes[] = "types"; |
36 const char kHomepageURL[] = "homepage_url"; | 39 const char kHomepageURL[] = "homepage_url"; |
37 const char kIcons[] = "icons"; | 40 const char kIcons[] = "icons"; |
38 const char kId[] = "id"; | 41 const char kId[] = "id"; |
39 const char kIncognito[] = "incognito"; | 42 const char kIncognito[] = "incognito"; |
40 const char kIncludeGlobs[] = "include_globs"; | 43 const char kIncludeGlobs[] = "include_globs"; |
41 const char kInputComponents[] = "input_components"; | 44 const char kInputComponents[] = "input_components"; |
42 const char kIntentDisposition[] = "disposition"; | 45 const char kIntentDisposition[] = "disposition"; |
43 const char kIntentHref[] = "href"; | 46 const char kIntentHref[] = "href"; |
44 const char kIntentPath[] = "path"; | 47 const char kIntentPath[] = "path"; |
45 const char kIntents[] = "intents"; | 48 const char kIntents[] = "intents"; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 const char kInvalidFileAccessList[] = | 240 const char kInvalidFileAccessList[] = |
238 "Invalid value for 'file_access'."; | 241 "Invalid value for 'file_access'."; |
239 const char kInvalidFileAccessValue[] = | 242 const char kInvalidFileAccessValue[] = |
240 "Invalid value for 'file_access[*]'."; | 243 "Invalid value for 'file_access[*]'."; |
241 const char kInvalidFileBrowserHandler[] = | 244 const char kInvalidFileBrowserHandler[] = |
242 "Invalid value for 'file_browser_handers'."; | 245 "Invalid value for 'file_browser_handers'."; |
243 const char kInvalidFileFiltersList[] = | 246 const char kInvalidFileFiltersList[] = |
244 "Invalid value for 'file_filters'."; | 247 "Invalid value for 'file_filters'."; |
245 const char kInvalidFileFilterValue[] = | 248 const char kInvalidFileFilterValue[] = |
246 "Invalid value for 'file_filters[*]'."; | 249 "Invalid value for 'file_filters[*]'."; |
| 250 const char kInvalidFileHandlers[] = |
| 251 "Invalid value for 'file_handlers'."; |
| 252 const char kInvalidFileHandlerTitle[] = |
| 253 "Invalid value for 'file_handlers[*].title'."; |
| 254 const char kInvalidFileHandlerType[] = |
| 255 "Invalid value for 'file_handlers[*].type'."; |
| 256 const char kInvalidFileHandlerTypeElement[] = |
| 257 "Invalid value for 'file_handlers[*].type[*]'."; |
247 const char kInvalidGlob[] = | 258 const char kInvalidGlob[] = |
248 "Invalid value for 'content_scripts[*].*[*]'."; | 259 "Invalid value for 'content_scripts[*].*[*]'."; |
249 const char kInvalidGlobList[] = | 260 const char kInvalidGlobList[] = |
250 "Invalid value for 'content_scripts[*].*'."; | 261 "Invalid value for 'content_scripts[*].*'."; |
251 const char kInvalidHomepageURL[] = | 262 const char kInvalidHomepageURL[] = |
252 "Invalid value for homepage url: '[*]'."; | 263 "Invalid value for homepage url: '[*]'."; |
253 const char kInvalidIconPath[] = | 264 const char kInvalidIconPath[] = |
254 "Invalid value for 'icons[\"*\"]'."; | 265 "Invalid value for 'icons[\"*\"]'."; |
255 const char kInvalidIcons[] = | 266 const char kInvalidIcons[] = |
256 "Invalid value for 'icons'."; | 267 "Invalid value for 'icons'."; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 const char kScriptBadgeTitleIgnored[] = | 525 const char kScriptBadgeTitleIgnored[] = |
515 "default_title specified in script_badge manifest section will not be " | 526 "default_title specified in script_badge manifest section will not be " |
516 "used."; | 527 "used."; |
517 const char kWebRequestConflictsWithLazyBackground[] = | 528 const char kWebRequestConflictsWithLazyBackground[] = |
518 "The 'webRequest' API cannot be used with event pages."; | 529 "The 'webRequest' API cannot be used with event pages."; |
519 #if defined(OS_CHROMEOS) | 530 #if defined(OS_CHROMEOS) |
520 const char kIllegalPlugins[] = | 531 const char kIllegalPlugins[] = |
521 "Extensions cannot install plugins on Chrome OS"; | 532 "Extensions cannot install plugins on Chrome OS"; |
522 #endif | 533 #endif |
523 } // namespace extension_manifest_errors | 534 } // namespace extension_manifest_errors |
OLD | NEW |