Chromium Code Reviews| Index: chrome/browser/ui/views/harmony/harmony_layout_provider.cc |
| diff --git a/chrome/browser/ui/views/harmony/harmony_layout_provider.cc b/chrome/browser/ui/views/harmony/harmony_layout_provider.cc |
| index d9dbd4df5da70dd78248197499dd622738bf0c83..24e2a18c56a8fbe2ea9560f0ffcd5e3508309ff8 100644 |
| --- a/chrome/browser/ui/views/harmony/harmony_layout_provider.cc |
| +++ b/chrome/browser/ui/views/harmony/harmony_layout_provider.cc |
| @@ -96,7 +96,7 @@ bool HarmonyLayoutProvider::IsHarmonyMode() const { |
| } |
| int HarmonyLayoutProvider::GetSnappedDialogWidth(int min_width) const { |
| - for (int snap_point : {320, 448, 512}) { |
| + for (int snap_point : {220, 320, 448, 512}) { |
|
Peter Kasting
2017/04/28 05:58:48
Don't add this, as this isn't a Harmony snap point
varkha
2017/04/28 06:21:19
Yes the dialog was snapping to 320 and this went a
Peter Kasting
2017/04/28 06:47:26
One problem is that this isn't a snap width in the
varkha
2017/05/01 10:11:59
Done.
|
| if (min_width <= snap_point) |
| return snap_point; |
| } |