diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 20:29:07 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 20:29:07 +0000 |
commit | c9af00d21e67b4dee15ec54655d30cb9f9139972 (patch) | |
tree | 294e2fdc6a7f1b3ef2935b974345d2d24db97af6 /chrome/browser/views/dropdown_bar_host.h | |
parent | adb0428576b6cdbbc9542319b5af8309057a17d1 (diff) | |
download | chromium_src-c9af00d21e67b4dee15ec54655d30cb9f9139972.zip chromium_src-c9af00d21e67b4dee15ec54655d30cb9f9139972.tar.gz chromium_src-c9af00d21e67b4dee15ec54655d30cb9f9139972.tar.bz2 |
Fix numerous alignment problems, both horizontal and vertical, in drawing the browser chrome. This doesn't fix problems with the NTP background image offsets (see bug 51853).
This also makes sure the OTR avatar is reversed in RTL mode, and clipped as usefully as possible when there isn't enough room for the full image.
BUG=44157
TEST=Frame, toolbar, bookmark bar, and find bar all look lined up with default and custom themes, restored and maximized, LTR and RTL, side tabs and normal tabs, and in popup and app windows
Review URL: http://codereview.chromium.org/3137019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/dropdown_bar_host.h')
-rw-r--r-- | chrome/browser/views/dropdown_bar_host.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/views/dropdown_bar_host.h b/chrome/browser/views/dropdown_bar_host.h index 8924456..72b9aac 100644 --- a/chrome/browser/views/dropdown_bar_host.h +++ b/chrome/browser/views/dropdown_bar_host.h @@ -78,9 +78,6 @@ class DropdownBarHost : public views::AcceleratorTarget, virtual void AnimationProgressed(const Animation* animation); virtual void AnimationEnded(const Animation* animation); - // Get the offset with which to paint the theme image. - void GetThemePosition(gfx::Rect* bounds); - // During testing we can disable animations by setting this flag to true, // so that opening and closing the dropdown bar is shown instantly, instead of // having to poll it while it animates to open/closed status. |