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

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, 10 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const char kIsolation[] = "app.isolation"; 54 const char kIsolation[] = "app.isolation";
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 kLanguage[] = "language"; 58 const char kLanguage[] = "language";
59 const char kLaunch[] = "app.launch"; 59 const char kLaunch[] = "app.launch";
60 const char kLaunchContainer[] = "app.launch.container"; 60 const char kLaunchContainer[] = "app.launch.container";
61 const char kLaunchHeight[] = "app.launch.height"; 61 const char kLaunchHeight[] = "app.launch.height";
62 const char kLaunchLocalPath[] = "app.launch.local_path"; 62 const char kLaunchLocalPath[] = "app.launch.local_path";
63 const char kLaunchWebURL[] = "app.launch.web_url"; 63 const char kLaunchWebURL[] = "app.launch.web_url";
64 const char kLaunchMaxHeight[] = "app.launch.max_height";
65 const char kLaunchMaxWidth[] = "app.launch.max_width";
66 const char kLaunchMinHeight[] = "app.launch.min_height";
67 const char kLaunchMinWidth[] = "app.launch.min_width";
68 const char kLaunchWidth[] = "app.launch.width"; 64 const char kLaunchWidth[] = "app.launch.width";
69 const char kLayouts[] = "layouts"; 65 const char kLayouts[] = "layouts";
70 const char kManifestVersion[] = "manifest_version"; 66 const char kManifestVersion[] = "manifest_version";
71 const char kMatches[] = "matches"; 67 const char kMatches[] = "matches";
72 const char kMinimumChromeVersion[] = "minimum_chrome_version"; 68 const char kMinimumChromeVersion[] = "minimum_chrome_version";
73 const char kMIMETypes[] = "mime_types"; 69 const char kMIMETypes[] = "mime_types";
74 const char kName[] = "name"; 70 const char kName[] = "name";
75 const char kNaClModules[] = "nacl_modules"; 71 const char kNaClModules[] = "nacl_modules";
76 const char kNaClModulesMIMEType[] = "mime_type"; 72 const char kNaClModulesMIMEType[] = "mime_type";
77 const char kNaClModulesPath[] = "path"; 73 const char kNaClModulesPath[] = "path";
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 const char kScriptBadgeTitleIgnored[] = 546 const char kScriptBadgeTitleIgnored[] =
551 "default_title specified in script_badge manifest section will not be " 547 "default_title specified in script_badge manifest section will not be "
552 "used."; 548 "used.";
553 const char kWebRequestConflictsWithLazyBackground[] = 549 const char kWebRequestConflictsWithLazyBackground[] =
554 "The 'webRequest' API cannot be used with event pages."; 550 "The 'webRequest' API cannot be used with event pages.";
555 #if defined(OS_CHROMEOS) 551 #if defined(OS_CHROMEOS)
556 const char kIllegalPlugins[] = 552 const char kIllegalPlugins[] =
557 "Extensions cannot install plugins on Chrome OS"; 553 "Extensions cannot install plugins on Chrome OS";
558 #endif 554 #endif
559 } // namespace extension_manifest_errors 555 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698