summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-18 03:23:33 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-18 03:23:33 +0000
commit1df50c8de4ca23b55ac99e26497fe8ba5864b6f3 (patch)
tree572ce80a9d0d7270222b45ebd2ab801a90fc428d /chrome/browser/views/bookmark_bar_view.h
parentc8ced031ff61f75ebe05b3ac4d2a27ab8936fc18 (diff)
downloadchromium_src-1df50c8de4ca23b55ac99e26497fe8ba5864b6f3.zip
chromium_src-1df50c8de4ca23b55ac99e26497fe8ba5864b6f3.tar.gz
chromium_src-1df50c8de4ca23b55ac99e26497fe8ba5864b6f3.tar.bz2
Allow the tiling of theme background images on the NTP.
BUG= http://crbug/com/15796 TEST= Add a property for tiling to a theme manifest.json. Observe that the theme image is tiled on the NTP. Review URL: http://codereview.chromium.org/149741 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.h')
-rw-r--r--chrome/browser/views/bookmark_bar_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.h b/chrome/browser/views/bookmark_bar_view.h
index 53fd699..39fc721 100644
--- a/chrome/browser/views/bookmark_bar_view.h
+++ b/chrome/browser/views/bookmark_bar_view.h
@@ -180,6 +180,12 @@ class BookmarkBarView : public views::View,
class ButtonSeparatorView;
struct DropInfo;
+ // Paint the theme background with the proper alignment.
+ void PaintThemeBackgroundTopAligned(gfx::Canvas* canvas,
+ SkBitmap* ntp_background, int tiling, int alignment);
+ void PaintThemeBackgroundBottomAligned(gfx::Canvas* canvas,
+ SkBitmap* ntp_background, int tiling, int alignment);
+
// Task that invokes ShowDropFolderForNode when run. ShowFolderDropMenuTask
// deletes itself once run.
class ShowFolderDropMenuTask : public Task {