summaryrefslogtreecommitdiffstats
path: root/chrome/views/window/custom_frame_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/window/custom_frame_view.cc')
-rw-r--r--chrome/views/window/custom_frame_view.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/views/window/custom_frame_view.cc b/chrome/views/window/custom_frame_view.cc
index 4c824af..c8a33fd 100644
--- a/chrome/views/window/custom_frame_view.cc
+++ b/chrome/views/window/custom_frame_view.cc
@@ -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 @@ void CustomFrameView::InitClass() {
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;
}