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

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

Issue 2660553005: Harmony - convert hung renderer dialog. (Closed)
Patch Set: remove test friends 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
Index: chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc b/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
index d3eaa40902ad20d5de1aa1e8b8d5207773d53337..e5b4bd6190b5a3a422c627ab53ce34e6be2f537b 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
@@ -29,6 +29,8 @@ int HarmonyLayoutDelegate::GetLayoutDistance(LayoutDistanceType type) const {
return kHarmonyLayoutUnit / 2;
case LayoutDistanceType::UNRELATED_CONTROL_VERTICAL_SPACING:
return kHarmonyLayoutUnit;
+ case LayoutDistanceType::UNRELATED_CONTROL_LARGE_HORIZONTAL_SPACING:
+ return kHarmonyLayoutUnit;
case LayoutDistanceType::UNRELATED_CONTROL_LARGE_VERTICAL_SPACING:
return kHarmonyLayoutUnit;
case LayoutDistanceType::BUTTON_VEDGE_MARGIN_NEW:
@@ -67,3 +69,7 @@ int HarmonyLayoutDelegate::GetDialogPreferredWidth(DialogWidthType type) const {
NOTREACHED();
return 0;
}
+
+int HarmonyLayoutDelegate::GetDialogButtonMinimumWidth() const {
+ return 70;
+}

Powered by Google App Engine
This is Rietveld 408576698