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

Unified Diff: chrome/browser/ui/extensions/application_launch.cc

Issue 10689071: Deprecate --aura-panels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698