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

Unified Diff: chrome/views/window/non_client_view.cc

Issue 113123: Fleshes out WidgetGTK and WindowGTK a bit more. This is still vary... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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: 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() {

Powered by Google App Engine
This is Rietveld 408576698