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

Unified Diff: chrome/browser/ui/views/frame/glass_browser_frame_view.cc

Issue 1402453002: Parametrize some more constants that will be changing in MD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Created 5 years, 2 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 | « no previous file | chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/glass_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
index 835dee83f79cb900652390bd3aa1cf895103fc62..7b5a4406bbfa533a4bafce18bccb963185af6a75 100644
--- a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
@@ -112,8 +112,8 @@ gfx::Rect GlassBrowserFrameView::GetBoundsForTabStrip(
// In non-maximized mode, allow the new tab button to slide completely under
// the avatar button.
if (!frame()->IsMaximized() && !base::i18n::IsRTL()) {
- end_x +=
- TabStrip::kNewTabButtonAssetWidth + kNewTabCaptionRestoredSpacing;
+ end_x += GetLayoutConstant(NEW_TAB_BUTTON_WIDTH) +
+ kNewTabCaptionRestoredSpacing;
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698