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

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

Issue 276773004: Revert 269892 "linux_aura: Compile ash into chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc (revision 269901)
+++ trunk/src/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc (working copy)
@@ -19,13 +19,11 @@
BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
BrowserFrame* frame, BrowserView* browser_view) {
-#if defined(USE_AURA) && !defined(OS_CHROMEOS)
+#if defined(OS_WIN)
if (browser_view->browser()->
host_desktop_type() == chrome::HOST_DESKTOP_TYPE_NATIVE) {
-#if defined(OS_WIN)
if (frame->ShouldUseNativeFrame())
return new GlassBrowserFrameView(frame, browser_view);
-#endif
return new OpaqueBrowserFrameView(frame, browser_view);
}
#endif

Powered by Google App Engine
This is Rietveld 408576698