summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 21:00:13 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 21:00:13 +0000
commitcc65ed864542d486654269b7ac72ecf8a0fef2cf (patch)
tree1af39af4d58ab6a7d51f9c717ad4262e54630ada /chrome/browser/views
parent41d59a808a1ca4084a8c5e0ce8ea2098ce110c57 (diff)
downloadchromium_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/views')
-rw-r--r--chrome/browser/views/tabs/tab_renderer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/tabs/tab_renderer.h b/chrome/browser/views/tabs/tab_renderer.h
index d157ceb..8b2cbb8 100644
--- a/chrome/browser/views/tabs/tab_renderer.h
+++ b/chrome/browser/views/tabs/tab_renderer.h
@@ -62,7 +62,7 @@ class TabRenderer : public views::View,
// Set the background offset used to match the image in the inactive tab
// to the frame image.
- void SetBackgroundOffset(gfx::Point offset) {
+ void SetBackgroundOffset(const gfx::Point& offset) {
background_offset_ = offset;
}
@@ -171,7 +171,6 @@ class TabRenderer : public views::View,
bool crashed;
bool off_the_record;
bool show_icon;
- int background_vertical_offset;
};
TabData data_;