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

Unified Diff: chrome/browser/ui/views/extensions/extension_install_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/extensions/extension_install_dialog_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
index 38f05c54b5bf1bf7ef0c1174cecf847ed174fff9..0a115a6531773bfb0a47f6ddc2b5d62920cb7858 100644
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
@@ -581,7 +581,7 @@ void ExtensionInstallDialogView::Layout() {
DialogDelegateView::Layout();
}
-gfx::Size ExtensionInstallDialogView::GetPreferredSize() const {
+gfx::Size ExtensionInstallDialogView::GetUnsnappedPreferredSize() const {
return dialog_size_;
}

Powered by Google App Engine
This is Rietveld 408576698