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

Unified Diff: views/window/native_frame_view.cc

Issue 7741001: Add Aura support to views: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « views/window/custom_frame_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/native_frame_view.cc
===================================================================
--- views/window/native_frame_view.cc (revision 98084)
+++ views/window/native_frame_view.cc (working copy)
@@ -7,7 +7,7 @@
#include "views/widget/native_widget.h"
#include "views/widget/widget.h"
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(USE_AURA)
#include "views/widget/native_widget_win.h"
#endif
@@ -33,7 +33,7 @@
gfx::Rect NativeFrameView::GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const {
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(USE_AURA)
RECT rect = client_bounds.ToRECT();
NativeWidgetWin* widget_win =
static_cast<NativeWidgetWin*>(frame_->native_widget());
« no previous file with comments | « views/window/custom_frame_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698