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

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

Issue 12965009: Remove the limit of number of commands per extension, but keep the limit of 4 shortcuts per extensi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 const char kInvalidKeyBinding[] = 342 const char kInvalidKeyBinding[] =
343 "Invalid value for 'commands[*].*': *."; 343 "Invalid value for 'commands[*].*': *.";
344 const char kInvalidKeyBindingDescription[] = 344 const char kInvalidKeyBindingDescription[] =
345 "Invalid value for 'commands[*].description'."; 345 "Invalid value for 'commands[*].description'.";
346 const char kInvalidKeyBindingDictionary[] = 346 const char kInvalidKeyBindingDictionary[] =
347 "Contents of 'commands[*]' invalid."; 347 "Contents of 'commands[*]' invalid.";
348 const char kInvalidKeyBindingMissingPlatform[] = 348 const char kInvalidKeyBindingMissingPlatform[] =
349 "Could not find key specification for 'command[*].*': Either specify a key " 349 "Could not find key specification for 'command[*].*': Either specify a key "
350 "for '*', or specify a default key."; 350 "for '*', or specify a default key.";
351 const char kInvalidKeyBindingTooMany[] = 351 const char kInvalidKeyBindingTooMany[] =
352 "Too many commands specified for 'commands': The maximum is *."; 352 "Too many shortcuts specified for 'commands': The maximum is *.";
353 const char kInvalidKeyBindingUnknownPlatform[] = 353 const char kInvalidKeyBindingUnknownPlatform[] =
354 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" 354 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'"
355 " 'chromeos', 'linux' and 'default'."; 355 " 'chromeos', 'linux' and 'default'.";
356 const char kInvalidKioskEnabled[] = 356 const char kInvalidKioskEnabled[] =
357 "Invalid value for 'kiosk_enabled'."; 357 "Invalid value for 'kiosk_enabled'.";
358 const char kInvalidLaunchContainer[] = 358 const char kInvalidLaunchContainer[] =
359 "Invalid value for 'app.launch.container'."; 359 "Invalid value for 'app.launch.container'.";
360 const char kInvalidLaunchValue[] = 360 const char kInvalidLaunchValue[] =
361 "Invalid value for '*'."; 361 "Invalid value for '*'.";
362 const char kInvalidLaunchValueContainer[] = 362 const char kInvalidLaunchValueContainer[] =
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 const char kScriptBadgeTitleIgnored[] = 556 const char kScriptBadgeTitleIgnored[] =
557 "default_title specified in script_badge manifest section will not be " 557 "default_title specified in script_badge manifest section will not be "
558 "used."; 558 "used.";
559 const char kWebRequestConflictsWithLazyBackground[] = 559 const char kWebRequestConflictsWithLazyBackground[] =
560 "The 'webRequest' API cannot be used with event pages."; 560 "The 'webRequest' API cannot be used with event pages.";
561 #if defined(OS_CHROMEOS) 561 #if defined(OS_CHROMEOS)
562 const char kIllegalPlugins[] = 562 const char kIllegalPlugins[] =
563 "Extensions cannot install plugins on Chrome OS"; 563 "Extensions cannot install plugins on Chrome OS";
564 #endif 564 #endif
565 } // namespace extension_manifest_errors 565 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698