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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_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/create_application_shortcut_view.h
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.h b/chrome/browser/ui/views/create_application_shortcut_view.h
index 07d45c12167426baff53c24602f1be7c7305e0d6..b0a9d29e17f6e16dd3370be178afa8fffdcb8669 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.h
+++ b/chrome/browser/ui/views/create_application_shortcut_view.h
@@ -56,8 +56,8 @@ class CreateApplicationShortcutView : public views::DialogDelegateView,
// Initialize the controls on the dialog.
void InitControls(DialogLayout dialog_layout);
- // Overridden from views::View:
- gfx::Size GetPreferredSize() const override;
+ // Overridden from views::DialogDelegateView:
+ gfx::Size GetUnsnappedPreferredSize() const override;
// Overridden from views::DialogDelegate:
base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;

Powered by Google App Engine
This is Rietveld 408576698