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

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

Issue 2860953002: Harmony: Apply the upper bound on equal-sized button widths in DialogClientView. (Closed)
Patch Set: test_layout_provider.h, sanity checks, self-review: nit data member names Created 3 years, 7 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 dd6b727bc3485e115e47be5381f0f00e6c0269f4..6bb3edf2fddab772f0bd26a56b4949da828df9e4 100644
--- a/chrome/browser/ui/views/harmony/chrome_layout_provider.cc
+++ b/chrome/browser/ui/views/harmony/chrome_layout_provider.cc
@@ -26,8 +26,6 @@ ChromeLayoutProvider::CreateLayoutProvider() {
int ChromeLayoutProvider::GetDistanceMetric(int metric) const {
switch (metric) {
- case DISTANCE_BUTTON_MAX_LINKABLE_WIDTH:
- return 0;
case DISTANCE_BUTTON_MINIMUM_WIDTH:
return views::kMinimumButtonWidth;
case DISTANCE_CONTROL_LIST_VERTICAL:
« no previous file with comments | « chrome/browser/ui/views/harmony/chrome_layout_provider.h ('k') | chrome/browser/ui/views/harmony/harmony_layout_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698