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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.cc

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/ui/views/frame/browser_frame.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_frame.cc (revision 115744)
+++ chrome/browser/ui/views/frame/browser_frame.cc (working copy)
@@ -66,10 +66,10 @@
}
#if defined(USE_AURA)
CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(aura_shell::switches::kAuraTranslucentFrames))
+ if (command_line->HasSwitch(ash::switches::kAuraTranslucentFrames))
params.transparent = true;
// Aura laptop mode fills the monitor with with its windows.
- if (aura_shell::switches::IsAuraWindowModeCompact() &&
+ if (ash::switches::IsAuraWindowModeCompact() &&
browser_view_->IsBrowserTypeNormal()) {
params.bounds = gfx::Screen::GetPrimaryMonitorBounds();
params.show_state = ui::SHOW_STATE_MAXIMIZED;
@@ -81,7 +81,7 @@
// to appear active.
bool disable_inactive_rendering = false;
#if defined(USE_AURA)
- disable_inactive_rendering = aura_shell::switches::IsAuraWindowModeCompact();
+ disable_inactive_rendering = ash::switches::IsAuraWindowModeCompact();
#elif defined(OS_CHROMEOS)
disable_inactive_rendering = true;
#endif
@@ -121,7 +121,7 @@
bool BrowserFrame::IsSingleWindowMode() const {
bool single_window_mode = false;
#if defined(USE_AURA)
- single_window_mode = aura_shell::switches::IsAuraWindowModeCompact();
+ single_window_mode = ash::switches::IsAuraWindowModeCompact();
#elif defined(OS_CHROMEOS)
single_window_mode =
chromeos::system::runtime_environment::IsRunningOnChromeOS();

Powered by Google App Engine
This is Rietveld 408576698