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

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

Issue 12316077: Move the parsing of app.launch related keys out of Extension class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const char kJs[] = "js"; 55 const char kJs[] = "js";
56 const char kKey[] = "key"; 56 const char kKey[] = "key";
57 const char kKeycode[] = "keyCode"; 57 const char kKeycode[] = "keyCode";
58 const char kKioskEnabled[] = "kiosk_enabled"; 58 const char kKioskEnabled[] = "kiosk_enabled";
59 const char kLanguage[] = "language"; 59 const char kLanguage[] = "language";
60 const char kLaunch[] = "app.launch"; 60 const char kLaunch[] = "app.launch";
61 const char kLaunchContainer[] = "app.launch.container"; 61 const char kLaunchContainer[] = "app.launch.container";
62 const char kLaunchHeight[] = "app.launch.height"; 62 const char kLaunchHeight[] = "app.launch.height";
63 const char kLaunchLocalPath[] = "app.launch.local_path"; 63 const char kLaunchLocalPath[] = "app.launch.local_path";
64 const char kLaunchWebURL[] = "app.launch.web_url"; 64 const char kLaunchWebURL[] = "app.launch.web_url";
65 const char kLaunchMaxHeight[] = "app.launch.max_height";
66 const char kLaunchMaxWidth[] = "app.launch.max_width";
67 const char kLaunchMinHeight[] = "app.launch.min_height";
68 const char kLaunchMinWidth[] = "app.launch.min_width";
69 const char kLaunchWidth[] = "app.launch.width"; 65 const char kLaunchWidth[] = "app.launch.width";
70 const char kLayouts[] = "layouts"; 66 const char kLayouts[] = "layouts";
71 const char kManifestVersion[] = "manifest_version"; 67 const char kManifestVersion[] = "manifest_version";
72 const char kMatches[] = "matches"; 68 const char kMatches[] = "matches";
73 const char kMinimumChromeVersion[] = "minimum_chrome_version"; 69 const char kMinimumChromeVersion[] = "minimum_chrome_version";
74 const char kMIMETypes[] = "mime_types"; 70 const char kMIMETypes[] = "mime_types";
75 const char kMimeTypesHandler[] = "mime_types_handler"; 71 const char kMimeTypesHandler[] = "mime_types_handler";
76 const char kName[] = "name"; 72 const char kName[] = "name";
77 const char kNaClModules[] = "nacl_modules"; 73 const char kNaClModules[] = "nacl_modules";
78 const char kNaClModulesMIMEType[] = "mime_type"; 74 const char kNaClModulesMIMEType[] = "mime_type";
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 const char kScriptBadgeTitleIgnored[] = 552 const char kScriptBadgeTitleIgnored[] =
557 "default_title specified in script_badge manifest section will not be " 553 "default_title specified in script_badge manifest section will not be "
558 "used."; 554 "used.";
559 const char kWebRequestConflictsWithLazyBackground[] = 555 const char kWebRequestConflictsWithLazyBackground[] =
560 "The 'webRequest' API cannot be used with event pages."; 556 "The 'webRequest' API cannot be used with event pages.";
561 #if defined(OS_CHROMEOS) 557 #if defined(OS_CHROMEOS)
562 const char kIllegalPlugins[] = 558 const char kIllegalPlugins[] =
563 "Extensions cannot install plugins on Chrome OS"; 559 "Extensions cannot install plugins on Chrome OS";
564 #endif 560 #endif
565 } // namespace extension_manifest_errors 561 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698