diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 22:00:17 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 22:00:17 +0000 |
commit | 2597381b07036e7d6e0773c8195a3dab7ef1240c (patch) | |
tree | 87c274ba5b6cd8d5b229d40f15140ad05b167be0 /chrome/browser/views/frame | |
parent | 56f959eee5652b24c3ea5efcb243fc999cd4a6a8 (diff) | |
download | chromium_src-2597381b07036e7d6e0773c8195a3dab7ef1240c.zip chromium_src-2597381b07036e7d6e0773c8195a3dab7ef1240c.tar.gz chromium_src-2597381b07036e7d6e0773c8195a3dab7ef1240c.tar.bz2 |
Make clicking on side tabs to select them work.
Use a simple round rect for the visual treatment.
Add some rect conversion utils.
http://crbug.com/34509
TEST=none
Review URL: http://codereview.chromium.org/597012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r-- | chrome/browser/views/frame/browser_view_layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/browser_view_layout.cc b/chrome/browser/views/frame/browser_view_layout.cc index 2172268..332d836 100644 --- a/chrome/browser/views/frame/browser_view_layout.cc +++ b/chrome/browser/views/frame/browser_view_layout.cc @@ -283,7 +283,7 @@ int BrowserViewLayout::LayoutTabStrip() { browser_view_->frame()->GetBoundsForTabStrip(tabstrip_); if (browser_view_->UsingSideTabs()) { - vertical_layout_rect_.Inset(layout_bounds.width(), 0, 0, 0); + vertical_layout_rect_.Inset(layout_bounds.right(), 0, 0, 0); } else { gfx::Rect toolbar_bounds = browser_view_->GetToolbarBounds(); tabstrip_->SetBackgroundOffset( |