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

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

Issue 2696263002: Refactor ViewsDelegate and MD-ify the icon-to-text spacing for checkbox and radiobutton (Closed)
Patch Set: Prefer embedded initialization over heap allocation for TestViewsDelegate Created 3 years, 10 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..ae370f7c0dd85cbcfb16904c00fce2447396476e 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -48,6 +48,9 @@ class LayoutDelegate {
UNRELATED_CONTROL_VERTICAL_SPACING,
// Larger vertical spacing between unrelated controls.
UNRELATED_CONTROL_VERTICAL_SPACING_LARGE,
+ // Horizontal spacing between the image/icon on a label button and its
+ // associated text. This includes checkboxes and radio buttons.
Peter Kasting 2017/03/01 06:32:36 I'm confused. How is this different than RELATED_
kylix_rd 2017/03/01 17:33:27 The original constant, private to the label_button
Peter Kasting 2017/03/01 23:32:23 Right. My hope was to either decide we could chan
Peter Kasting 2017/03/03 00:05:55 After looking at the use of RELATED_LABEL_HORIZONT
+ ICON_TEXT_SPACING,
};
enum class DialogWidth {

Powered by Google App Engine
This is Rietveld 408576698