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

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

Issue 8890036: Aura: Separate constrained window and translucent frame flags (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_non_client_frame_view_factory_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
index 362df1effec991733e53cf7bd1431ef38836ca27..ad04667aaf831fc37f4c8420d142eced7b52b044 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
@@ -20,7 +20,8 @@ BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
return new PanelBrowserFrameView(
frame, static_cast<PanelBrowserView*>(browser_view));
}
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAuraWindows))
+ CommandLine* command_line = CommandLine::ForCurrentProcess();
+ if (command_line->HasSwitch(switches::kAuraTranslucentFrames))
return new BrowserNonClientFrameViewAura(frame, browser_view);
return new OpaqueBrowserFrameView(frame, browser_view);
}

Powered by Google App Engine
This is Rietveld 408576698