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

Unified Diff: chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.cc

Issue 2785683003: views: implement width snapping for DialogDelegateViews (Closed)
Patch Set: Created 3 years, 9 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/passwords/auto_signin_first_run_dialog_view.cc
diff --git a/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.cc b/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.cc
index 1b2b28947fa9da219f51071b97a40dc2e0989525..d2374f494bbef5adf5a014480edcf345f510620c 100644
--- a/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.cc
+++ b/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.cc
@@ -116,7 +116,7 @@ int AutoSigninFirstRunDialogView::GetDialogButtons() const {
return ui::DIALOG_BUTTON_NONE;
}
-gfx::Size AutoSigninFirstRunDialogView::GetPreferredSize() const {
+gfx::Size AutoSigninFirstRunDialogView::GetUnsnappedPreferredSize() const {
return gfx::Size(kDesiredWidth, GetHeightForWidth(kDesiredWidth));
}

Powered by Google App Engine
This is Rietveld 408576698