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

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

Issue 9969087: Switch platform apps from a declarative launch container to handling an onLaunched event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review 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 2c5dc80dedba1f11412b7935529e3c7af619c25d..494d5497629e20b13af577d106daad809e1b6132 100644
--- a/chrome/browser/extensions/extension_prefs.cc
+++ b/chrome/browser/extensions/extension_prefs.cc
@@ -985,12 +985,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

Powered by Google App Engine
This is Rietveld 408576698