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

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

Issue 2845593002: Updates Zoom bubble layout and adds +/- buttons (Closed)
Patch Set: Updates Zoom bubble layout and adds +/- buttons (comments) Created 3 years, 8 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_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;
}

Powered by Google App Engine
This is Rietveld 408576698