diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 23:46:04 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 23:46:04 +0000 |
commit | 5a9bb950970d732b3d9f0ed4ecc052c6d213bde4 (patch) | |
tree | a48897126b35d149d0651f4fd53cf789c99af2b7 /chrome/browser/views/frame | |
parent | 1525c68ec291218d831e29ea34aaf5a516daf855 (diff) | |
download | chromium_src-5a9bb950970d732b3d9f0ed4ecc052c6d213bde4.zip chromium_src-5a9bb950970d732b3d9f0ed4ecc052c6d213bde4.tar.gz chromium_src-5a9bb950970d732b3d9f0ed4ecc052c6d213bde4.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@38856 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( |