diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 00:05:12 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 00:05:12 +0000 |
commit | 4acd6e2d6ddf09f80e54cbc9459964a0b79f36c0 (patch) | |
tree | ad22bcedb0d81b4bc950b8bd2a06b42dfedad2f2 /chrome/browser/dom_ui | |
parent | 6ff5f40d51eac4eb94722e1c4af42dac7b39a327 (diff) | |
download | chromium_src-4acd6e2d6ddf09f80e54cbc9459964a0b79f36c0.zip chromium_src-4acd6e2d6ddf09f80e54cbc9459964a0b79f36c0.tar.gz chromium_src-4acd6e2d6ddf09f80e54cbc9459964a0b79f36c0.tar.bz2 |
Fix linux views build.
TBR=nsylvain
Review URL: http://codereview.chromium.org/255049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_theme_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_theme_source.cc b/chrome/browser/dom_ui/dom_ui_theme_source.cc index dd0e151..2fe9f98 100644 --- a/chrome/browser/dom_ui/dom_ui_theme_source.cc +++ b/chrome/browser/dom_ui/dom_ui_theme_source.cc @@ -21,7 +21,7 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" -#if defined(OS_WIN) +#if defined(OS_WIN) || defined(TOOLKIT_VIEWS) #include "chrome/browser/views/bookmark_bar_view.h" #elif defined(OS_LINUX) #include "chrome/browser/gtk/bookmark_bar_gtk.h" @@ -275,7 +275,7 @@ std::string DOMUIThemeSource::GetNewTabBackgroundCSS(bool bar_attached) { // The bar is detached, so we must offset the background by the bar size // if it's a top-aligned bar. -#if defined(OS_WIN) +#if defined(OS_WIN) || defined(TOOLKIT_VIEWS) int offset = BookmarkBarView::kNewtabBarHeight; #elif defined(OS_LINUX) int offset = BookmarkBarGtk::kBookmarkBarNTPHeight; |