diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 21:00:13 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 21:00:13 +0000 |
commit | cc65ed864542d486654269b7ac72ecf8a0fef2cf (patch) | |
tree | 1af39af4d58ab6a7d51f9c717ad4262e54630ada /chrome/browser/gtk/tabs/tab_renderer_gtk.h | |
parent | 41d59a808a1ca4084a8c5e0ce8ea2098ce110c57 (diff) | |
download | chromium_src-cc65ed864542d486654269b7ac72ecf8a0fef2cf.zip chromium_src-cc65ed864542d486654269b7ac72ecf8a0fef2cf.tar.gz chromium_src-cc65ed864542d486654269b7ac72ecf8a0fef2cf.tar.bz2 |
More theme fixes.
1) Fix the bookmark bar to draw the same as the toolbar (tile the background
image and have a transparent background).
2) Fix the tab backgrounds to be offset correctly rather than always drawing
as if we're the first tab.
Some small code cleanup in views/tabs/tab_renderer.h.
Review URL: http://codereview.chromium.org/165078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/tabs/tab_renderer_gtk.h')
-rw-r--r-- | chrome/browser/gtk/tabs/tab_renderer_gtk.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.h b/chrome/browser/gtk/tabs/tab_renderer_gtk.h index edda57a..ba141f1 100644 --- a/chrome/browser/gtk/tabs/tab_renderer_gtk.h +++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.h @@ -339,8 +339,9 @@ class TabRendererGtk : public AnimationDelegate { // Contains the loading animation state. LoadingAnimation loading_animation_; - // TODO(jhawkins): If the theme is changed after the tab is created, we'll - // still render the old theme for this tab. + // The offset used to paint the tab theme images. + int background_offset_x_; + ThemeProvider* theme_provider_; // The close button. |