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

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

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton 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
Index: chrome/browser/ui/views/window.cc
diff --git a/chrome/browser/ui/views/window.cc b/chrome/browser/ui/views/window.cc
index d4d8daa7c324d8d2f8ec7c706c42fbee58823234..c55594a1b388fb1607059a991d2e218fffe2c059 100644
--- a/chrome/browser/ui/views/window.cc
+++ b/chrome/browser/ui/views/window.cc
@@ -46,15 +46,9 @@ views::Widget* CreateViewsWindowWithParent(gfx::NativeWindow parent,
params.parent = parent;
#endif
#if defined(USE_AURA)
- // Outside of compact mode, dialog windows may have translucent frames.
+ // Aura dialogs may have translucent frames.
// TODO(jamescook): Find a better way to set this.
- CommandLine* cmd = CommandLine::ForCurrentProcess();
- bool compact_window_mode =
- cmd->HasSwitch(ash::switches::kAuraForceCompactWindowMode) ||
- cmd->GetSwitchValueASCII(ash::switches::kAuraWindowMode) ==
- ash::switches::kAuraWindowModeCompact;
- if (!compact_window_mode)
- params.transparent = true;
+ params.transparent = true;
#endif
widget->Init(params);
return widget;
« no previous file with comments | « chrome/browser/ui/views/tabs/default_tab_drag_controller.cc ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698