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

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

Issue 9701002: Aura/ash split: Split the extra parts into ash and aura parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk to try again Created 8 years, 9 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.h ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index a229eca1c39ebbee064a3b4e2c98592b3c3a1a03..919e8d3aad02b9dd459bcf66a1e7ae0c6fb41f21 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -210,7 +210,7 @@
#include "chrome/browser/ui/webui/chromeos/active_downloads_ui.h"
#endif
-#if defined(USE_AURA)
+#if defined(USE_ASH)
#include "ash/ash_switches.h"
#include "ash/shell.h"
#include "chrome/browser/ui/views/ash/panel_view_aura.h"
@@ -719,7 +719,7 @@ WebContents* Browser::OpenApplication(
break;
}
case extension_misc::LAUNCH_PANEL:
-#if defined(USE_AURA)
+#if defined(USE_ASH)
if (extension &&
CommandLine::ForCurrentProcess()->HasSwitch(
ash::switches::kAuraPanelManager)) {
@@ -744,7 +744,7 @@ WebContents* Browser::OpenApplication(
return tab;
}
-#if defined(USE_AURA)
+#if defined(USE_ASH)
// static
WebContents* Browser::OpenApplicationPanel(
Profile* profile,
@@ -4588,7 +4588,7 @@ BrowserWindow* Browser::CreateBrowserWindow() {
// Android build.
#if !defined(OS_ANDROID)
bool create_panel = false;
-#if defined(USE_AURA)
+#if defined(USE_ASH)
if (CommandLine::ForCurrentProcess()->HasSwitch(
ash::switches::kAuraPanelManager))
create_panel = is_type_panel();
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698