diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 23:29:02 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 23:29:02 +0000 |
commit | c3bca42cd755a9456068fe6b40667aaa5a21ac7f (patch) | |
tree | d82fd3073b7d879120cf242d0819275837d5574a /chrome/browser/gtk/tabs/tab_renderer_gtk.cc | |
parent | 5cb7d01aa8abef3a09f70d7fe5b0139227ca31be (diff) | |
download | chromium_src-c3bca42cd755a9456068fe6b40667aaa5a21ac7f.zip chromium_src-c3bca42cd755a9456068fe6b40667aaa5a21ac7f.tar.gz chromium_src-c3bca42cd755a9456068fe6b40667aaa5a21ac7f.tar.bz2 |
Attempt 2 at landing this. The first attempt failed because
View::MirroredX is defined inline in the .cc, which apparently means
gcc won't export it for callers outside of view.cc.
Changes the rendering of mini-tabs slightly:
. the icons of mini-tabs scales up to 24x24 on mouse over.
. phantom tabs are rendered in their own layer behind other tabs at
40% opacity. The icon for phantom tabs are rendered at 60% opactiy.
BUG=32845
TEST=none
Review URL: http://codereview.chromium.org/650066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/tabs/tab_renderer_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/tabs/tab_renderer_gtk.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.cc b/chrome/browser/gtk/tabs/tab_renderer_gtk.cc index c37b4f1..861ff04 100644 --- a/chrome/browser/gtk/tabs/tab_renderer_gtk.cc +++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.cc @@ -844,9 +844,6 @@ void TabRendererGtk::PaintIcon(gfx::Canvas* canvas) { void TabRendererGtk::PaintTabBackground(gfx::Canvas* canvas) { if (IsSelected()) { - // Sometimes detaching a tab quickly can result in the model reporting it - // as not being selected, so is_drag_clone_ ensures that we always paint - // the active representation for the dragged tab. PaintActiveTabBackground(canvas); } else { PaintInactiveTabBackground(canvas); |