Index: chrome/browser/ui/extensions/application_launch.cc |
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc |
index 267a42158a3f1c5dcb10a78c5cfaac1b1d9c56fb..9837a78a604ab3e340e4ea870635d26151e341c1 100644 |
--- a/chrome/browser/ui/extensions/application_launch.cc |
+++ b/chrome/browser/ui/extensions/application_launch.cc |
@@ -105,21 +105,7 @@ WebContents* OpenApplication(Profile* profile, |
NOTREACHED(); |
break; |
} |
- case extension_misc::LAUNCH_PANEL: { |
stevenjb
2012/07/02 16:53:58
not: I've spoken to the apps team, and they very m
|
- bool open_panel = false; |
-#if defined(USE_ASH) |
- open_panel = CommandLine::ForCurrentProcess()->HasSwitch( |
- ash::switches::kAuraPanelManager); |
-#else |
- open_panel = CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kBrowserlessPanels); |
-#endif |
- if (open_panel) { |
- tab = OpenApplicationPanel(profile, extension, override_url); |
jennb
2012/07/02 17:13:27
Can delete OpenApplicationPanel() method as well.
|
- break; |
- } |
- // else fall through to LAUNCH_WINDOW |
- } |
+ case extension_misc::LAUNCH_PANEL: |
case extension_misc::LAUNCH_WINDOW: |
tab = OpenApplicationWindow(profile, extension, container, |
override_url, NULL); |