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

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

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.h
diff --git a/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h b/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h
index e06674e9514709469562104b824550816ed1299f..58cfcc1afd7272eb15854cff0a52e695dbb5aa92 100644
--- a/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h
+++ b/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h
@@ -36,8 +36,8 @@ class AutoSigninFirstRunDialogView : public views::DialogDelegateView,
// views::DialogDelegate:
int GetDialogButtons() const override;
- // views::View
- gfx::Size GetPreferredSize() const override;
+ // views::DialogDelegateView
Peter Kasting 2017/03/30 00:35:35 Nit: Combine with two sections above
+ gfx::Size GetUnsnappedPreferredSize() const override;
// views::ButtonListener:
void ButtonPressed(views::Button* sender, const ui::Event& event) override;

Powered by Google App Engine
This is Rietveld 408576698