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

Unified Diff: ui/views/views_delegate.cc

Issue 2779973003: views: fold layout_utils::CreatePanelLayout into GridLayout::CreatePanel (Closed)
Patch Set: add some namespaces 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: ui/views/views_delegate.cc
diff --git a/ui/views/views_delegate.cc b/ui/views/views_delegate.cc
index a14cf4882998ba300f4f8e1d42605e57716af110..73911128d63c91df99f0511a55e9168b6df0fcbc 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -136,6 +136,8 @@ gfx::Insets ViewsDelegate::GetInsetsMetric(InsetsMetric metric) const {
kButtonHEdgeMarginNew);
case InsetsMetric::BUBBLE_DIALOG:
return gfx::Insets(kPanelVertMargin, kPanelHorizMargin);
+ case InsetsMetric::PANEL:
+ return gfx::Insets(kPanelVertMargin, kButtonHEdgeMarginNew);
}
NOTREACHED();
return gfx::Insets();
« chrome/browser/chromeos/options/vpn_config_view.cc ('K') | « ui/views/views_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698