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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const char kPublicKey[] = "key"; | 100 const char kPublicKey[] = "key"; |
101 const char kRequirements[] = "requirements"; | 101 const char kRequirements[] = "requirements"; |
102 const char kRunAt[] = "run_at"; | 102 const char kRunAt[] = "run_at"; |
103 const char kSandboxedPages[] = "sandbox.pages"; | 103 const char kSandboxedPages[] = "sandbox.pages"; |
104 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; | 104 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; |
105 const char kScriptBadge[] = "script_badge"; | 105 const char kScriptBadge[] = "script_badge"; |
106 const char kShiftKey[] = "shiftKey"; | 106 const char kShiftKey[] = "shiftKey"; |
107 const char kShortcutKey[] = "shortcutKey"; | 107 const char kShortcutKey[] = "shortcutKey"; |
108 const char kSignature[] = "signature"; | 108 const char kSignature[] = "signature"; |
109 const char kSuggestedKey[] = "suggested_key"; | 109 const char kSuggestedKey[] = "suggested_key"; |
| 110 const char kSystemIndicator[] = "system_indicator"; |
110 const char kTheme[] = "theme"; | 111 const char kTheme[] = "theme"; |
111 const char kThemeColors[] = "colors"; | 112 const char kThemeColors[] = "colors"; |
112 const char kThemeDisplayProperties[] = "properties"; | 113 const char kThemeDisplayProperties[] = "properties"; |
113 const char kThemeImages[] = "images"; | 114 const char kThemeImages[] = "images"; |
114 const char kThemeTints[] = "tints"; | 115 const char kThemeTints[] = "tints"; |
115 const char kTtsEngine[] = "tts_engine"; | 116 const char kTtsEngine[] = "tts_engine"; |
116 const char kTtsGenderFemale[] = "female"; | 117 const char kTtsGenderFemale[] = "female"; |
117 const char kTtsGenderMale[] = "male"; | 118 const char kTtsGenderMale[] = "male"; |
118 const char kTtsVoices[] = "voices"; | 119 const char kTtsVoices[] = "voices"; |
119 const char kTtsVoicesEventTypeEnd[] = "end"; | 120 const char kTtsVoicesEventTypeEnd[] = "end"; |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 const char kInvalidSandboxedPagesList[] = | 432 const char kInvalidSandboxedPagesList[] = |
432 "Invalid value for 'sandbox.pages'."; | 433 "Invalid value for 'sandbox.pages'."; |
433 const char kInvalidSandboxedPage[] = | 434 const char kInvalidSandboxedPage[] = |
434 "Invalid value for 'sandbox.pages[*]'."; | 435 "Invalid value for 'sandbox.pages[*]'."; |
435 const char kInvalidSandboxedPagesCSP[] = | 436 const char kInvalidSandboxedPagesCSP[] = |
436 "Invalid value for 'sandbox.content_security_policy'."; | 437 "Invalid value for 'sandbox.content_security_policy'."; |
437 const char kInvalidScriptBadge[] = | 438 const char kInvalidScriptBadge[] = |
438 "Invalid value for 'script_badge'."; | 439 "Invalid value for 'script_badge'."; |
439 const char kInvalidSignature[] = | 440 const char kInvalidSignature[] = |
440 "Value 'signature' is missing or invalid."; | 441 "Value 'signature' is missing or invalid."; |
| 442 const char kInvalidSystemIndicator[] = |
| 443 "Invalid value for 'system_indicator'."; |
441 const char kInvalidTheme[] = | 444 const char kInvalidTheme[] = |
442 "Invalid value for 'theme'."; | 445 "Invalid value for 'theme'."; |
443 const char kInvalidThemeColors[] = | 446 const char kInvalidThemeColors[] = |
444 "Invalid value for theme colors - colors must be integers"; | 447 "Invalid value for theme colors - colors must be integers"; |
445 const char kInvalidThemeImages[] = | 448 const char kInvalidThemeImages[] = |
446 "Invalid value for theme images - images must be strings."; | 449 "Invalid value for theme images - images must be strings."; |
447 const char kInvalidThemeImagesMissing[] = | 450 const char kInvalidThemeImagesMissing[] = |
448 "An image specified in the theme is missing."; | 451 "An image specified in the theme is missing."; |
449 const char kInvalidThemeTints[] = | 452 const char kInvalidThemeTints[] = |
450 "Invalid value for theme images - tints must be decimal numbers."; | 453 "Invalid value for theme images - tints must be decimal numbers."; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 const char kScriptBadgeTitleIgnored[] = | 531 const char kScriptBadgeTitleIgnored[] = |
529 "default_title specified in script_badge manifest section will not be " | 532 "default_title specified in script_badge manifest section will not be " |
530 "used."; | 533 "used."; |
531 const char kWebRequestConflictsWithLazyBackground[] = | 534 const char kWebRequestConflictsWithLazyBackground[] = |
532 "The 'webRequest' API cannot be used with event pages."; | 535 "The 'webRequest' API cannot be used with event pages."; |
533 #if defined(OS_CHROMEOS) | 536 #if defined(OS_CHROMEOS) |
534 const char kIllegalPlugins[] = | 537 const char kIllegalPlugins[] = |
535 "Extensions cannot install plugins on Chrome OS"; | 538 "Extensions cannot install plugins on Chrome OS"; |
536 #endif | 539 #endif |
537 } // namespace extension_manifest_errors | 540 } // namespace extension_manifest_errors |
OLD | NEW |