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

Unified Diff: ui/views/layout/layout_provider.cc

Issue 2932523003: Fix Harmony popover buttons being flush with their content. (Closed)
Patch Set: fix merge Created 3 years, 6 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 | « ui/views/layout/layout_provider.h ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/layout/layout_provider.cc
diff --git a/ui/views/layout/layout_provider.cc b/ui/views/layout/layout_provider.cc
index a4fd678c3f1db896b7db9617022cdfc8eb7df864..10b40e3cec040192c54af710daad24d3fcddeae6 100644
--- a/ui/views/layout/layout_provider.cc
+++ b/ui/views/layout/layout_provider.cc
@@ -86,6 +86,7 @@ int LayoutProvider::GetDistanceMetric(int metric) const {
return kRelatedButtonHSpacing;
case DistanceMetric::DISTANCE_RELATED_CONTROL_HORIZONTAL:
return kRelatedControlHorizontalSpacing;
+ case DistanceMetric::DISTANCE_BUBBLE_BUTTON_TOP_MARGIN:
case DistanceMetric::DISTANCE_RELATED_CONTROL_VERTICAL:
return kRelatedControlVerticalSpacing;
case DISTANCE_DIALOG_BUTTON_BOTTOM_MARGIN:
« no previous file with comments | « ui/views/layout/layout_provider.h ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698