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

Unified Diff: chrome/browser/ui/views/harmony/layout_delegate.h

Issue 2625083003: Implement Harmony-style consistent button widths for Collected Cookies. (Closed)
Patch Set: respond to comments Created 3 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
Index: chrome/browser/ui/views/harmony/layout_delegate.h
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.h b/chrome/browser/ui/views/harmony/layout_delegate.h
index 9841b67c9e3f24dfff94c554e74ac90936bda2eb..e37879f86ed5e5433edaf45c5a8b4f31ef58058a 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -12,6 +12,10 @@ class LayoutDelegate {
enum class Metric {
// Padding on the left and right side of a button's label.
BUTTON_HORIZONTAL_PADDING,
+ // The maximum width a button can have and still influence the sizes of
+ // other linked buttons. This allows short buttons to have linked widths
+ // without long buttons making things overly wide.
+ BUTTON_MAX_LINKABLE_WIDTH,
// Default minimum width of a button.
BUTTON_MINIMUM_WIDTH,
// Margin between the edge of a dialog and the left, right, or bottom of a
« no previous file with comments | « chrome/browser/ui/views/harmony/harmony_layout_delegate.cc ('k') | chrome/browser/ui/views/harmony/layout_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698