Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: chrome/browser/views/frame/browser_view_layout.cc

Issue 3137019: Fix numerous alignment problems, both horizontal and vertical, in drawing the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/glass_browser_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view_layout.cc
===================================================================
--- chrome/browser/views/frame/browser_view_layout.cc (revision 56452)
+++ chrome/browser/views/frame/browser_view_layout.cc (working copy)
@@ -239,8 +239,8 @@
int top = LayoutTabStrip();
if (browser_view_->IsTabStripVisible() && !browser_view_->UseVerticalTabs()) {
tabstrip_->SetBackgroundOffset(gfx::Point(
- tabstrip_->x() - browser_view_->GetToolbarBounds().x(),
- tabstrip_->y()));
+ tabstrip_->MirroredX() + browser_view_->MirroredX(),
+ browser_view_->frame()->GetHorizontalTabStripVerticalOffset(false)));
}
top = LayoutToolbar(top);
top = LayoutBookmarkAndInfoBars(top);
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/frame/glass_browser_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698