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

Unified Diff: chrome/browser/ui/views/passwords/account_chooser_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/account_chooser_dialog_view.h
diff --git a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.h b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.h
index 27774519601821af615fd2a5ff97d146ef1de5b6..c0c5fef147996e2e65fb4fb3f22753cb6b61ffc0 100644
--- a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.h
+++ b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.h
@@ -44,8 +44,8 @@ class AccountChooserDialogView : public views::DialogDelegateView,
bool ShouldDefaultButtonBeBlue() const override;
base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
- // views::View
- gfx::Size GetPreferredSize() const override;
+ // DialogDelegateView
Peter Kasting 2017/03/30 00:35:35 Nit: Combine this group with the two above (class
+ gfx::Size GetUnsnappedPreferredSize() const override;
// StyledLabelListener:
void StyledLabelLinkClicked(views::StyledLabel* label,

Powered by Google App Engine
This is Rietveld 408576698