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

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

Issue 2555623002: Last round of cleaning up MD layout constants. (Closed)
Patch Set: Created 4 years 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
Index: chrome/browser/ui/views/frame/browser_view_layout.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index 18c70c1a859b17c7e808fae8d708dae13517a9b3..2a6ce33b4bd3245a2db1fcea5eb127d11ba80a31 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -224,8 +224,8 @@ gfx::Rect BrowserViewLayout::GetFindBarBoundingBox() const {
// Overlap the find bar atop |top_container_|.
// The find bar should look connected to the top container when material
// design is not enabled.
- find_bar_y = top_container_bounds.bottom() -
- GetLayoutConstant(FIND_BAR_TOOLBAR_OVERLAP);
+ const int kOverlapDip = 6;
+ find_bar_y = top_container_bounds.bottom() - kOverlapDip;
}
// Grow the height of |bounding_box| by the height of any elements between

Powered by Google App Engine
This is Rietveld 408576698