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

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

Issue 2932523003: Fix Harmony popover buttons being flush with their content. (Closed)
Patch Set: too much padding for bubbles 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
Index: chrome/browser/ui/views/harmony/chrome_layout_provider.cc
diff --git a/chrome/browser/ui/views/harmony/chrome_layout_provider.cc b/chrome/browser/ui/views/harmony/chrome_layout_provider.cc
index 24988010ce0f122ed1c04a529801ffd396c6bf50..47813d6281870a17b7a0173650efad4085a78f14 100644
--- a/chrome/browser/ui/views/harmony/chrome_layout_provider.cc
+++ b/chrome/browser/ui/views/harmony/chrome_layout_provider.cc
@@ -30,8 +30,6 @@ int ChromeLayoutProvider::GetDistanceMetric(int metric) const {
return views::kMinimumButtonWidth;
case DISTANCE_CONTROL_LIST_VERTICAL:
return GetDistanceMetric(DISTANCE_UNRELATED_CONTROL_VERTICAL);
- case DISTANCE_DIALOG_BUTTON_TOP:
Bret 2017/06/07 22:52:18 This was unused.
- return 0;
case DISTANCE_RELATED_CONTROL_HORIZONTAL_SMALL:
return views::kRelatedControlSmallHorizontalSpacing;
case DISTANCE_RELATED_CONTROL_VERTICAL_SMALL:

Powered by Google App Engine
This is Rietveld 408576698