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

Unified Diff: chrome/views/window/custom_frame_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/custom_frame_view.cc
===================================================================
--- chrome/views/window/custom_frame_view.cc (revision 15583)
+++ chrome/views/window/custom_frame_view.cc (working copy)
@@ -8,9 +8,14 @@
#include "app/gfx/chrome_font.h"
#include "app/gfx/path.h"
#include "app/resource_bundle.h"
+#if defined(OS_WIN)
#include "base/win_util.h"
#include "chrome/common/win_util.h"
+#endif
#include "chrome/views/window/client_view.h"
+#if defined(OS_LINUX)
+#include "chrome/views/window/hit_test.h"
+#endif
#include "chrome/views/window/window_delegate.h"
#include "grit/theme_resources.h"
@@ -686,7 +691,12 @@
active_resources_ = new ActiveWindowResources;
inactive_resources_ = new InactiveWindowResources;
+#if defined(OS_WIN)
title_font_ = new ChromeFont(win_util::GetWindowTitleFont());
+#elif defined(OS_LINUX)
+ // TODO: need to resolve what font this is.
+ title_font_ = new ChromeFont();
+#endif
initialized = true;
}

Powered by Google App Engine
This is Rietveld 408576698