Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Side by Side Diff: extensions/common/manifest_constants.cc

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 kAudio[] = "audio";
15 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; 14 const char kBackgroundAllowJsAccess[] = "background.allow_js_access";
16 const char kBackgroundPage[] = "background.page"; 15 const char kBackgroundPage[] = "background.page";
17 const char kBackgroundPageLegacy[] = "background_page"; 16 const char kBackgroundPageLegacy[] = "background_page";
18 const char kBackgroundPersistent[] = "background.persistent"; 17 const char kBackgroundPersistent[] = "background.persistent";
19 const char kBackgroundScripts[] = "background.scripts"; 18 const char kBackgroundScripts[] = "background.scripts";
20 const char kBrowserAction[] = "browser_action"; 19 const char kBrowserAction[] = "browser_action";
21 const char kChromeURLOverrides[] = "chrome_url_overrides"; 20 const char kChromeURLOverrides[] = "chrome_url_overrides";
22 const char kCommands[] = "commands"; 21 const char kCommands[] = "commands";
23 const char kContentPack[] = "content_pack"; 22 const char kContentPack[] = "content_pack";
24 const char kContentPackSites[] = "sites"; 23 const char kContentPackSites[] = "sites";
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const char kShortName[] = "short_name"; 113 const char kShortName[] = "short_name";
115 const char kSignature[] = "signature"; 114 const char kSignature[] = "signature";
116 const char kSpellcheck[] = "spellcheck"; 115 const char kSpellcheck[] = "spellcheck";
117 const char kSpellcheckDictionaryFormat[] = "dictionary_format"; 116 const char kSpellcheckDictionaryFormat[] = "dictionary_format";
118 const char kSpellcheckDictionaryLanguage[] = "dictionary_language"; 117 const char kSpellcheckDictionaryLanguage[] = "dictionary_language";
119 const char kSpellcheckDictionaryLocale[] = "dictionary_locale"; 118 const char kSpellcheckDictionaryLocale[] = "dictionary_locale";
120 const char kSpellcheckDictionaryPath[] = "dictionary_path"; 119 const char kSpellcheckDictionaryPath[] = "dictionary_path";
121 const char kStorageManagedSchema[] = "storage.managed_schema"; 120 const char kStorageManagedSchema[] = "storage.managed_schema";
122 const char kSuggestedKey[] = "suggested_key"; 121 const char kSuggestedKey[] = "suggested_key";
123 const char kSystemIndicator[] = "system_indicator"; 122 const char kSystemIndicator[] = "system_indicator";
124 const char kSystemInfoDisplay[] = "systemInfo.display";
125 const char kTheme[] = "theme"; 123 const char kTheme[] = "theme";
126 const char kThemeColors[] = "colors"; 124 const char kThemeColors[] = "colors";
127 const char kThemeDisplayProperties[] = "properties"; 125 const char kThemeDisplayProperties[] = "properties";
128 const char kThemeImages[] = "images"; 126 const char kThemeImages[] = "images";
129 const char kThemeTints[] = "tints"; 127 const char kThemeTints[] = "tints";
130 const char kTtsEngine[] = "tts_engine"; 128 const char kTtsEngine[] = "tts_engine";
131 const char kTtsGenderFemale[] = "female"; 129 const char kTtsGenderFemale[] = "female";
132 const char kTtsGenderMale[] = "male"; 130 const char kTtsGenderMale[] = "male";
133 const char kTtsVoices[] = "voices"; 131 const char kTtsVoices[] = "voices";
134 const char kTtsVoicesEventTypeEnd[] = "end"; 132 const char kTtsVoicesEventTypeEnd[] = "end";
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 "Invalid value for 'offline_enabled'."; 460 "Invalid value for 'offline_enabled'.";
463 const char kInvalidOmniboxKeyword[] = 461 const char kInvalidOmniboxKeyword[] =
464 "Invalid value for 'omnibox.keyword'."; 462 "Invalid value for 'omnibox.keyword'.";
465 const char kInvalidOptionsPage[] = 463 const char kInvalidOptionsPage[] =
466 "Invalid value for 'options_page'."; 464 "Invalid value for 'options_page'.";
467 const char kInvalidOptionsPageExpectUrlInPackage[] = 465 const char kInvalidOptionsPageExpectUrlInPackage[] =
468 "Invalid value for 'options_page'. Value must be a relative path."; 466 "Invalid value for 'options_page'. Value must be a relative path.";
469 const char kInvalidOptionsPageInHostedApp[] = 467 const char kInvalidOptionsPageInHostedApp[] =
470 "Invalid value for 'options_page'. Hosted apps must specify an " 468 "Invalid value for 'options_page'. Hosted apps must specify an "
471 "absolute URL."; 469 "absolute URL.";
472 const char kInvalidOptionalPermissions[] =
473 "Invalid value for 'optional_permissions'.";
474 const char kInvalidPageAction[] = 470 const char kInvalidPageAction[] =
475 "Invalid value for 'page_action'."; 471 "Invalid value for 'page_action'.";
476 const char kInvalidPageActionDefaultTitle[] = 472 const char kInvalidPageActionDefaultTitle[] =
477 "Invalid value for 'default_title'."; 473 "Invalid value for 'default_title'.";
478 const char kInvalidPageActionIconPath[] = 474 const char kInvalidPageActionIconPath[] =
479 "Invalid value for 'page_action.default_icon'."; 475 "Invalid value for 'page_action.default_icon'.";
480 const char kInvalidPageActionId[] = 476 const char kInvalidPageActionId[] =
481 "Required value 'id' is missing or invalid."; 477 "Required value 'id' is missing or invalid.";
482 const char kInvalidPageActionName[] = 478 const char kInvalidPageActionName[] =
483 "Invalid value for 'page_action.name'."; 479 "Invalid value for 'page_action.name'.";
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 const char kWebRequestConflictsWithLazyBackground[] = 642 const char kWebRequestConflictsWithLazyBackground[] =
647 "The 'webRequest' API cannot be used with event pages."; 643 "The 'webRequest' API cannot be used with event pages.";
648 #if defined(OS_CHROMEOS) 644 #if defined(OS_CHROMEOS)
649 const char kIllegalPlugins[] = 645 const char kIllegalPlugins[] =
650 "Extensions cannot install plugins on Chrome OS"; 646 "Extensions cannot install plugins on Chrome OS";
651 #endif 647 #endif
652 648
653 } // namespace manifest_errors 649 } // namespace manifest_errors
654 650
655 } // namespace extensions 651 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698