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

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

Issue 2571613002: Convert Register Protocol Handler dialog for Harmony/Material Design (Closed)
Patch Set: More fixed nits Created 3 years, 11 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/views/harmony/layout_delegate.h ('k') | chrome/browser/ui/views/layout_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/harmony/layout_delegate.cc
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.cc b/chrome/browser/ui/views/harmony/layout_delegate.cc
index 8b57e7b814f9b9acce53afae1abf987546bbe89d..80a6dcedaf8a4f5d589fb6495a05bb6fd48328dd 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/layout_delegate.cc
@@ -22,6 +22,8 @@ LayoutDelegate* LayoutDelegate::Get() {
int LayoutDelegate::GetLayoutDistance(LayoutDistanceType type) const {
switch (type) {
+ case LayoutDistanceType::PANEL_HORIZ_MARGIN:
+ return views::kPanelHorizMargin;
case LayoutDistanceType::PANEL_VERT_MARGIN:
return views::kPanelVertMargin;
case LayoutDistanceType::RELATED_BUTTON_HORIZONTAL_SPACING:
@@ -38,6 +40,8 @@ int LayoutDelegate::GetLayoutDistance(LayoutDistanceType type) const {
return views::kButtonVEdgeMarginNew;
case LayoutDistanceType::BUTTON_HEDGE_MARGIN_NEW:
return views::kButtonHEdgeMarginNew;
+ case LayoutDistanceType::CHECKBOX_INDENT:
+ return views::kCheckboxIndent;
}
NOTREACHED();
return 0;
« no previous file with comments | « chrome/browser/ui/views/harmony/layout_delegate.h ('k') | chrome/browser/ui/views/layout_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698