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

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: Reduced ViewsDelegate layout/metric functions to only two functions 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 6213d1c90c0484e3b5df65635f49cb379dd6b816..5273b7049e0aa3b9cfd699c59795db3b1a0544f7 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -40,6 +40,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.
+ ICON_TEXT_SPACING,
};
enum class DialogWidth {

Powered by Google App Engine
This is Rietveld 408576698