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

Side by Side Diff: chrome/common/extensions/extension_manifest_constants.cc

Issue 10217017: Allow features to refer to subkeys in _manifest_features.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix theme test Created 8 years, 7 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 (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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 "Attempted uninstallation of an extension that is not user-manageable."; 172 "Attempted uninstallation of an extension that is not user-manageable.";
173 const char kChromeVersionTooLow[] = 173 const char kChromeVersionTooLow[] =
174 "This extension requires * version * or greater."; 174 "This extension requires * version * or greater.";
175 const char kDisabledByPolicy[] = 175 const char kDisabledByPolicy[] =
176 "This extension has been disabled by your administrator."; 176 "This extension has been disabled by your administrator.";
177 const char kExpectString[] = "Expect string value."; 177 const char kExpectString[] = "Expect string value.";
178 const char kExperimentalFlagRequired[] = 178 const char kExperimentalFlagRequired[] =
179 "Loading extensions with 'experimental' permission is turned off by " 179 "Loading extensions with 'experimental' permission is turned off by "
180 "default. You can enable 'Experimental Extension APIs' " 180 "default. You can enable 'Experimental Extension APIs' "
181 "by visiting chrome://flags."; 181 "by visiting chrome://flags.";
182 const char kFeatureNotAllowed[] =
183 "Feature '*' is not accessible. *";
184 const char kInvalidAllFrames[] = 182 const char kInvalidAllFrames[] =
185 "Invalid value for 'content_scripts[*].all_frames'."; 183 "Invalid value for 'content_scripts[*].all_frames'.";
186 const char kInvalidBackground[] = 184 const char kInvalidBackground[] =
187 "Invalid value for 'background_page'."; 185 "Invalid value for 'background_page'.";
188 const char kInvalidBackgroundAllowJsAccess[] = 186 const char kInvalidBackgroundAllowJsAccess[] =
189 "Invalid value for 'background.allow_js_access'."; 187 "Invalid value for 'background.allow_js_access'.";
190 const char kInvalidBackgroundCombination[] = 188 const char kInvalidBackgroundCombination[] =
191 "The background.page and background.scripts properties cannot be used at " 189 "The background.page and background.scripts properties cannot be used at "
192 "the same time."; 190 "the same time.";
193 const char kInvalidBackgroundScript[] = 191 const char kInvalidBackgroundScript[] =
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 "Loading platform_app extension type is turned off by default. " 469 "Loading platform_app extension type is turned off by default. "
472 "You can enable this type with the --enable-platform-apps " 470 "You can enable this type with the --enable-platform-apps "
473 "command-line flag."; 471 "command-line flag.";
474 const char kReservedMessageFound[] = 472 const char kReservedMessageFound[] =
475 "Reserved key * found in message catalog."; 473 "Reserved key * found in message catalog.";
476 #if defined(OS_CHROMEOS) 474 #if defined(OS_CHROMEOS)
477 const char kIllegalPlugins[] = 475 const char kIllegalPlugins[] =
478 "Extensions cannot install plugins on Chrome OS"; 476 "Extensions cannot install plugins on Chrome OS";
479 #endif 477 #endif
480 } // namespace extension_manifest_errors 478 } // namespace extension_manifest_errors
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | chrome/common/extensions/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698