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

Unified Diff: chrome/browser/ui/views/layout_utils.cc

Issue 2666043002: Try to rename LayoutDistanceType enum values for clarity and consistency. (Closed)
Patch Set: Fix comment 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.cc ('k') | chrome/browser/ui/views/login_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/layout_utils.cc
diff --git a/chrome/browser/ui/views/layout_utils.cc b/chrome/browser/ui/views/layout_utils.cc
index 5916fb994b2115da0205b7a7a2085554f3b7bef4..e6d6cce0924006ae7171fb8a15ae55284e467a64 100644
--- a/chrome/browser/ui/views/layout_utils.cc
+++ b/chrome/browser/ui/views/layout_utils.cc
@@ -14,9 +14,9 @@ views::GridLayout* CreatePanelLayout(views::View* host) {
LayoutDelegate* delegate = LayoutDelegate::Get();
layout->SetInsets(gfx::Insets(
delegate->GetLayoutDistance(
- LayoutDelegate::LayoutDistanceType::PANEL_VERT_MARGIN),
+ LayoutDelegate::LayoutDistanceType::PANEL_CONTENT_MARGIN),
delegate->GetLayoutDistance(
- LayoutDelegate::LayoutDistanceType::BUTTON_HEDGE_MARGIN_NEW)));
+ LayoutDelegate::LayoutDistanceType::DIALOG_BUTTON_MARGIN)));
host->SetLayoutManager(layout);
return layout;
}
« no previous file with comments | « chrome/browser/ui/views/harmony/layout_delegate.cc ('k') | chrome/browser/ui/views/login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698