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 2a4a3c6b33ea47d72ade846ed38130b5cc4c26f5..dd411c7477b556f6925bb02e146cf641315fe585 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 |
@@ -19,11 +19,13 @@ namespace chrome { |
BrowserNonClientFrameView* CreateBrowserNonClientFrameView( |
BrowserFrame* frame, BrowserView* browser_view) { |
-#if defined(OS_WIN) |
+#if defined(USE_AURA) && !defined(OS_CHROMEOS) |
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 |