diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-26 23:39:35 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-26 23:39:35 +0000 |
commit | 9ba258bc5d7da5194a8b0ecfb66c22e52fd75bf9 (patch) | |
tree | f229178ff9463d9c398b7651792bc749e3dea3c4 /chrome/browser/views/frame/opaque_browser_frame_view.cc | |
parent | be5e2c880c787fff66a110913f0fdd85524e2ff8 (diff) | |
download | chromium_src-9ba258bc5d7da5194a8b0ecfb66c22e52fd75bf9.zip chromium_src-9ba258bc5d7da5194a8b0ecfb66c22e52fd75bf9.tar.gz chromium_src-9ba258bc5d7da5194a8b0ecfb66c22e52fd75bf9.tar.bz2 |
Fleshes out more of BrowserFrameGtk.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113873
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/opaque_browser_frame_view.cc')
-rw-r--r-- | chrome/browser/views/frame/opaque_browser_frame_view.cc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/opaque_browser_frame_view.cc b/chrome/browser/views/frame/opaque_browser_frame_view.cc index 27727cf..1bfaa21 100644 --- a/chrome/browser/views/frame/opaque_browser_frame_view.cc +++ b/chrome/browser/views/frame/opaque_browser_frame_view.cc @@ -10,7 +10,6 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" -#include "app/win_util.h" #include "chrome/browser/browser_theme_provider.h" #include "chrome/browser/views/frame/browser_frame.h" #include "chrome/browser/views/frame/browser_view.h" @@ -21,8 +20,17 @@ #include "grit/theme_resources.h" #include "views/controls/button/image_button.h" #include "views/widget/root_view.h" +#include "views/window/window.h" #include "views/window/window_resources.h" +#if defined(OS_WIN) +#include "app/win_util.h" +#endif + +#if defined(OS_LINUX) +#include "views/window/hit_test.h" +#endif + // static SkBitmap* OpaqueBrowserFrameView::distributor_logo_ = NULL; gfx::Font* OpaqueBrowserFrameView::title_font_ = NULL; @@ -969,7 +977,12 @@ void OpaqueBrowserFrameView::InitClass() { void OpaqueBrowserFrameView::InitAppWindowResources() { static bool initialized = false; if (!initialized) { +#if defined(OS_WIN) title_font_ = new gfx::Font(win_util::GetWindowTitleFont()); +#else + NOTIMPLEMENTED(); + title_font_ = new gfx::Font(); +#endif initialized = true; } } |