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

Unified Diff: chrome/browser/extensions/extension_prefs.cc

Issue 10080017: Switch platform apps from a declarative launch container to handling an onLaunched event. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove debug logging code Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_prefs.cc
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
index 793a04ed61d02e95f23e532ede4f1ea559b2950f..8aa723a8d354e95d69688b662352a751a029e328 100644
--- a/chrome/browser/extensions/extension_prefs.cc
+++ b/chrome/browser/extensions/extension_prefs.cc
@@ -1038,12 +1038,10 @@ extension_misc::LaunchContainer ExtensionPrefs::GetLaunchContainer(
extension_misc::LaunchContainer result = kInvalidLaunchContainer;
- if (manifest_launch_container == extension_misc::LAUNCH_PANEL ||
- manifest_launch_container == extension_misc::LAUNCH_SHELL) {
- // Apps with app.launch.container = 'panel' or 'shell' should always respect
- // the manifest setting.
+ if (manifest_launch_container == extension_misc::LAUNCH_PANEL) {
+ // Apps with app.launch.container = 'panel' should always respect the
+ // manifest setting.
result = manifest_launch_container;
-
} else if (manifest_launch_container == extension_misc::LAUNCH_TAB) {
// Look for prefs that indicate the user's choice of launch
// container. The app's menu on the NTP provides a UI to set
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698