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

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

Issue 14241002: 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, 8 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const char kJs[] = "js"; 56 const char kJs[] = "js";
57 const char kKey[] = "key"; 57 const char kKey[] = "key";
58 const char kKeycode[] = "keyCode"; 58 const char kKeycode[] = "keyCode";
59 const char kKioskEnabled[] = "kiosk_enabled"; 59 const char kKioskEnabled[] = "kiosk_enabled";
60 const char kLanguage[] = "language"; 60 const char kLanguage[] = "language";
61 const char kLaunch[] = "app.launch"; 61 const char kLaunch[] = "app.launch";
62 const char kLaunchContainer[] = "app.launch.container"; 62 const char kLaunchContainer[] = "app.launch.container";
63 const char kLaunchHeight[] = "app.launch.height"; 63 const char kLaunchHeight[] = "app.launch.height";
64 const char kLaunchLocalPath[] = "app.launch.local_path"; 64 const char kLaunchLocalPath[] = "app.launch.local_path";
65 const char kLaunchWebURL[] = "app.launch.web_url"; 65 const char kLaunchWebURL[] = "app.launch.web_url";
66 const char kLaunchMaxHeight[] = "app.launch.max_height";
67 const char kLaunchMaxWidth[] = "app.launch.max_width";
68 const char kLaunchMinHeight[] = "app.launch.min_height";
69 const char kLaunchMinWidth[] = "app.launch.min_width";
70 const char kLaunchWidth[] = "app.launch.width"; 66 const char kLaunchWidth[] = "app.launch.width";
71 const char kLayouts[] = "layouts"; 67 const char kLayouts[] = "layouts";
72 const char kManifestVersion[] = "manifest_version"; 68 const char kManifestVersion[] = "manifest_version";
73 const char kMatches[] = "matches"; 69 const char kMatches[] = "matches";
74 const char kMinimumChromeVersion[] = "minimum_chrome_version"; 70 const char kMinimumChromeVersion[] = "minimum_chrome_version";
75 const char kMIMETypes[] = "mime_types"; 71 const char kMIMETypes[] = "mime_types";
76 const char kMimeTypesHandler[] = "mime_types_handler"; 72 const char kMimeTypesHandler[] = "mime_types_handler";
77 const char kName[] = "name"; 73 const char kName[] = "name";
78 const char kNaClModules[] = "nacl_modules"; 74 const char kNaClModules[] = "nacl_modules";
79 const char kNaClModulesMIMEType[] = "mime_type"; 75 const char kNaClModulesMIMEType[] = "mime_type";
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 const char kScriptBadgeTitleIgnored[] = 558 const char kScriptBadgeTitleIgnored[] =
563 "default_title specified in script_badge manifest section will not be " 559 "default_title specified in script_badge manifest section will not be "
564 "used."; 560 "used.";
565 const char kWebRequestConflictsWithLazyBackground[] = 561 const char kWebRequestConflictsWithLazyBackground[] =
566 "The 'webRequest' API cannot be used with event pages."; 562 "The 'webRequest' API cannot be used with event pages.";
567 #if defined(OS_CHROMEOS) 563 #if defined(OS_CHROMEOS)
568 const char kIllegalPlugins[] = 564 const char kIllegalPlugins[] =
569 "Extensions cannot install plugins on Chrome OS"; 565 "Extensions cannot install plugins on Chrome OS";
570 #endif 566 #endif
571 } // namespace extension_manifest_errors 567 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698