Index: chrome/views/window/non_client_view.cc |
=================================================================== |
--- chrome/views/window/non_client_view.cc (revision 15583) |
+++ chrome/views/window/non_client_view.cc (working copy) |
@@ -4,9 +4,14 @@ |
#include "chrome/views/window/non_client_view.h" |
+#if defined(OS_WIN) |
#include "chrome/common/win_util.h" |
+#endif |
#include "chrome/views/widget/root_view.h" |
#include "chrome/views/widget/widget.h" |
+#if defined(OS_LINUX) |
+#include "chrome/views/window/hit_test.h" |
+#endif |
#include "chrome/views/window/window.h" |
namespace views { |
@@ -27,7 +32,11 @@ |
NonClientView::NonClientView(Window* frame) |
: frame_(frame), |
client_view_(NULL), |
+#if defined(OS_WIN) |
use_native_frame_(win_util::ShouldUseVistaFrame()) { |
+#else |
+ use_native_frame_(false) { |
+#endif |
} |
NonClientView::~NonClientView() { |