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 /views | |
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 'views')
-rw-r--r-- | views/view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view.cc b/views/view.cc index a4e5c57..ef476f4 100644 --- a/views/view.cc +++ b/views/view.cc @@ -241,7 +241,7 @@ bool View::UILayoutIsRightToLeft() const { // //////////////////////////////////////////////////////////////////////////////// -inline int View::MirroredX() const { +int View::MirroredX() const { View* parent = GetParent(); return parent ? parent->MirroredLeftPointForRect(bounds_) : x(); } |