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

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

Issue 8890036: Aura: Separate constrained window and translucent frame flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename workspace manager flag 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_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
index d418f722f66a2ef07717b1cffa5d6a95b8bfc4c5..9a06f0e82435901f8e3f965d21bda37f45793679 100644
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
@@ -165,7 +165,8 @@ BrowserFrameAura::BrowserFrameAura(BrowserFrame* browser_frame,
: views::NativeWidgetAura(browser_frame),
browser_view_(browser_view),
browser_frame_(browser_frame) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAuraWindows)) {
+ CommandLine* command_line = CommandLine::ForCurrentProcess();
+ if (command_line->HasSwitch(switches::kAuraTranslucentFrames)) {
// Aura paints layers behind this view, so this must be a layer also.
// TODO: see if we can avoid this, layers are expensive.
browser_view_->SetPaintToLayer(true);

Powered by Google App Engine
This is Rietveld 408576698