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

Unified Diff: chrome/browser/ui/layout_constants.cc

Issue 1770573002: Update extension buttons to Material Design (Mac). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_toolbar
Patch Set: Code clean-up. Created 4 years, 9 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/ui/cocoa/toolbar/toolbar_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/layout_constants.cc
diff --git a/chrome/browser/ui/layout_constants.cc b/chrome/browser/ui/layout_constants.cc
index 6cfa6e8e3dbe734d26e02c7f11cd6ce8ae67381e..786b47d621f1bbf923fae8b6dee3e517bb0cb563 100644
--- a/chrome/browser/ui/layout_constants.cc
+++ b/chrome/browser/ui/layout_constants.cc
@@ -29,17 +29,18 @@ int GetLayoutConstant(LayoutConstant constant) {
const int kTabTopExclusionHeight[] = {0, 0, 0};
const int kTabstripNewTabButtonOverlap[] = {8, 5, 6};
const int kTabstripTabOverlap[] = {19, 16, 16};
+ const int kToolbarStandardSpacing[] = {3, 0, 8};
#else
const int kTabTopExclusionHeight[] = {2, 0, 0};
const int kTabstripNewTabButtonOverlap[] = {11, 5, 6};
const int kTabstripTabOverlap[] = {26, 16, 16};
+ const int kToolbarStandardSpacing[] = {3, 4, 8};
#endif
const int kTabstripToolbarOverlap[] = {3, 0, 0};
const int kToolbarContentShadowHeight[] = {0, 0, 0};
const int kToolbarContentShadowHeightAsh[] = {2, 0, 0};
const int kToolbarElementPadding[] = {0, 0, 8};
const int kToolbarLocationBarRightPadding[] = {0, 4, 8};
- const int kToolbarStandardSpacing[] = {3, 4, 8};
const int mode = ui::MaterialDesignController::GetMode();
switch (constant) {
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698