diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 23:05:55 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 23:05:55 +0000 |
commit | 3a35c75bb60bff4b249163490557af893356cac5 (patch) | |
tree | b776a8c11790fc7d0cf4039d0cf012e89904b9ec | |
parent | 8ad92a16e9dcab250f0d5443f6b46cd7b27f42df (diff) | |
download | chromium_src-3a35c75bb60bff4b249163490557af893356cac5.zip chromium_src-3a35c75bb60bff4b249163490557af893356cac5.tar.gz chromium_src-3a35c75bb60bff4b249163490557af893356cac5.tar.bz2 |
Remove the side tab shadow. I thought I had committed this last week but I guess I did not. sky already reviewed this.
BUG=none
TEST=vista glass, make sure there's no shadow over-painting the buttons at the right of the toolbar
Review URL: http://codereview.chromium.org/1576007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43403 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/views/frame/glass_browser_frame_view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/glass_browser_frame_view.cc b/chrome/browser/views/frame/glass_browser_frame_view.cc index b1f36af..1567c1c 100644 --- a/chrome/browser/views/frame/glass_browser_frame_view.cc +++ b/chrome/browser/views/frame/glass_browser_frame_view.cc @@ -120,6 +120,9 @@ void GlassBrowserFrameView::UpdateThrobber(bool running) { } void GlassBrowserFrameView::PaintTabStripShadow(gfx::Canvas* canvas) { + if (!browser_view_->UILayoutIsRightToLeft()) + return; + ThemeProvider* tp = GetThemeProvider(); SkBitmap* shadow_top = tp->GetBitmapNamed(IDR_SIDETABS_SHADOW_TOP); SkBitmap* shadow_middle = tp->GetBitmapNamed(IDR_SIDETABS_SHADOW_MIDDLE); |