| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/manifest_constants.h" | 5 #include "extensions/common/manifest_constants.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 namespace manifest_keys { | 9 namespace manifest_keys { |
| 10 | 10 |
| 11 const char kAllFrames[] = "all_frames"; | 11 const char kAllFrames[] = "all_frames"; |
| 12 const char kAltKey[] = "altKey"; | 12 const char kAltKey[] = "altKey"; |
| 13 const char kApp[] = "app"; | 13 const char kApp[] = "app"; |
| 14 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; | 14 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; |
| 15 const char kBackgroundPage[] = "background.page"; | 15 const char kBackgroundPage[] = "background.page"; |
| 16 const char kBackgroundPageLegacy[] = "background_page"; | 16 const char kBackgroundPageLegacy[] = "background_page"; |
| 17 const char kBackgroundPersistent[] = "background.persistent"; | 17 const char kBackgroundPersistent[] = "background.persistent"; |
| 18 const char kBackgroundScripts[] = "background.scripts"; | 18 const char kBackgroundScripts[] = "background.scripts"; |
| 19 const char kBluetooth[] = "bluetooth"; | 19 const char kBluetooth[] = "bluetooth"; |
| 20 const char kBookmarkUI[] = "chrome_settings_overrides.bookmarks_ui"; | 20 const char kBookmarkUI[] = "chrome_ui_overrides.bookmarks_ui"; |
| 21 const char kBrowserAction[] = "browser_action"; | 21 const char kBrowserAction[] = "browser_action"; |
| 22 const char kChromeURLOverrides[] = "chrome_url_overrides"; | 22 const char kChromeURLOverrides[] = "chrome_url_overrides"; |
| 23 const char kCommands[] = "commands"; | 23 const char kCommands[] = "commands"; |
| 24 const char kContentPack[] = "content_pack"; | 24 const char kContentPack[] = "content_pack"; |
| 25 const char kContentPackSites[] = "sites"; | 25 const char kContentPackSites[] = "sites"; |
| 26 const char kContentScripts[] = "content_scripts"; | 26 const char kContentScripts[] = "content_scripts"; |
| 27 const char kContentSecurityPolicy[] = "content_security_policy"; | 27 const char kContentSecurityPolicy[] = "content_security_policy"; |
| 28 const char kConvertedFromUserScript[] = "converted_from_user_script"; | 28 const char kConvertedFromUserScript[] = "converted_from_user_script"; |
| 29 const char kCss[] = "css"; | 29 const char kCss[] = "css"; |
| 30 const char kCtrlKey[] = "ctrlKey"; | 30 const char kCtrlKey[] = "ctrlKey"; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 const char kTtsVoicesEventTypeMarker[] = "marker"; | 148 const char kTtsVoicesEventTypeMarker[] = "marker"; |
| 149 const char kTtsVoicesEventTypeSentence[] = "sentence"; | 149 const char kTtsVoicesEventTypeSentence[] = "sentence"; |
| 150 const char kTtsVoicesEventTypeStart[] = "start"; | 150 const char kTtsVoicesEventTypeStart[] = "start"; |
| 151 const char kTtsVoicesEventTypeWord[] = "word"; | 151 const char kTtsVoicesEventTypeWord[] = "word"; |
| 152 const char kTtsVoicesEventTypes[] = "event_types"; | 152 const char kTtsVoicesEventTypes[] = "event_types"; |
| 153 const char kTtsVoicesGender[] = "gender"; | 153 const char kTtsVoicesGender[] = "gender"; |
| 154 const char kTtsVoicesLang[] = "lang"; | 154 const char kTtsVoicesLang[] = "lang"; |
| 155 const char kTtsVoicesRemote[] = "remote"; | 155 const char kTtsVoicesRemote[] = "remote"; |
| 156 const char kTtsVoicesVoiceName[] = "voice_name"; | 156 const char kTtsVoicesVoiceName[] = "voice_name"; |
| 157 const char kType[] = "type"; | 157 const char kType[] = "type"; |
| 158 const char kUIOverride[] = "chrome_ui_overrides"; |
| 158 const char kUpdateURL[] = "update_url"; | 159 const char kUpdateURL[] = "update_url"; |
| 159 const char kUrlHandlers[] = "url_handlers"; | 160 const char kUrlHandlers[] = "url_handlers"; |
| 160 const char kUrlHandlerTitle[] = "title"; | 161 const char kUrlHandlerTitle[] = "title"; |
| 161 const char kVersion[] = "version"; | 162 const char kVersion[] = "version"; |
| 162 const char kWebAccessibleResources[] = "web_accessible_resources"; | 163 const char kWebAccessibleResources[] = "web_accessible_resources"; |
| 163 const char kWebURLs[] = "app.urls"; | 164 const char kWebURLs[] = "app.urls"; |
| 164 const char kWebview[] = "webview"; | 165 const char kWebview[] = "webview"; |
| 165 const char kWebviewAccessibleResources[] = "accessible_resources"; | 166 const char kWebviewAccessibleResources[] = "accessible_resources"; |
| 166 const char kWebviewName[] = "name"; | 167 const char kWebviewName[] = "name"; |
| 167 const char kWebviewPartitions[] = "partitions"; | 168 const char kWebviewPartitions[] = "partitions"; |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 const char kInvalidSandboxedPagesList[] = | 548 const char kInvalidSandboxedPagesList[] = |
| 548 "Invalid value for 'sandbox.pages'."; | 549 "Invalid value for 'sandbox.pages'."; |
| 549 const char kInvalidSandboxedPage[] = | 550 const char kInvalidSandboxedPage[] = |
| 550 "Invalid value for 'sandbox.pages[*]'."; | 551 "Invalid value for 'sandbox.pages[*]'."; |
| 551 const char kInvalidSandboxedPagesCSP[] = | 552 const char kInvalidSandboxedPagesCSP[] = |
| 552 "Invalid value for 'sandbox.content_security_policy'."; | 553 "Invalid value for 'sandbox.content_security_policy'."; |
| 553 const char kInvalidScriptBadge[] = | 554 const char kInvalidScriptBadge[] = |
| 554 "Invalid value for 'script_badge'."; | 555 "Invalid value for 'script_badge'."; |
| 555 const char kInvalidSearchEngineURL[] = | 556 const char kInvalidSearchEngineURL[] = |
| 556 "Invalid URL [*] for 'chrome_settings_overrides.search_provider'."; | 557 "Invalid URL [*] for 'chrome_settings_overrides.search_provider'."; |
| 557 const char kInvalidEmptySettingsOverrides[] = | 558 const char kInvalidEmptyDictionary[] = "Empty dictionary for '*'."; |
| 558 "Empty dictionary for 'chrome_settings_overrides'."; | |
| 559 const char kInvalidShortName[] = | 559 const char kInvalidShortName[] = |
| 560 "Invalid value for 'short_name'."; | 560 "Invalid value for 'short_name'."; |
| 561 const char kInvalidSignature[] = | 561 const char kInvalidSignature[] = |
| 562 "Value 'signature' is missing or invalid."; | 562 "Value 'signature' is missing or invalid."; |
| 563 const char kInvalidSpellcheck[] = | 563 const char kInvalidSpellcheck[] = |
| 564 "Invalid value for 'spellcheck'."; | 564 "Invalid value for 'spellcheck'."; |
| 565 const char kInvalidSpellcheckDictionaryFormat[] = | 565 const char kInvalidSpellcheckDictionaryFormat[] = |
| 566 "Invalid value for spellcheck dictionary format."; | 566 "Invalid value for spellcheck dictionary format."; |
| 567 const char kInvalidSpellcheckDictionaryLanguage[] = | 567 const char kInvalidSpellcheckDictionaryLanguage[] = |
| 568 "Invalid value for spellcheck dictionary language."; | 568 "Invalid value for spellcheck dictionary language."; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 const char kWebRequestConflictsWithLazyBackground[] = | 702 const char kWebRequestConflictsWithLazyBackground[] = |
| 703 "The 'webRequest' API cannot be used with event pages."; | 703 "The 'webRequest' API cannot be used with event pages."; |
| 704 #if defined(OS_CHROMEOS) | 704 #if defined(OS_CHROMEOS) |
| 705 const char kIllegalPlugins[] = | 705 const char kIllegalPlugins[] = |
| 706 "Extensions cannot install plugins on Chrome OS"; | 706 "Extensions cannot install plugins on Chrome OS"; |
| 707 #endif | 707 #endif |
| 708 | 708 |
| 709 } // namespace manifest_errors | 709 } // namespace manifest_errors |
| 710 | 710 |
| 711 } // namespace extensions | 711 } // namespace extensions |
| OLD | NEW |