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

Unified Diff: ui/views/controls/webview/web_dialog_view.cc

Issue 256623002: Implemented inline login dialog for Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged SetExtraInitParams. Created 6 years, 8 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: ui/views/controls/webview/web_dialog_view.cc
diff --git a/ui/views/controls/webview/web_dialog_view.cc b/ui/views/controls/webview/web_dialog_view.cc
index 688892c3ae316eb9cf57205abcdebf6b3ac977ce..d6e15f39c266e76e1c508e2b4ed533090166e232 100644
--- a/ui/views/controls/webview/web_dialog_view.cc
+++ b/ui/views/controls/webview/web_dialog_view.cc
@@ -122,6 +122,8 @@ bool WebDialogView::CanClose() {
// WebDialogView, views::WidgetDelegate implementation:
bool WebDialogView::CanResize() const {
+ if (delegate_)
+ return delegate_->CanResizeDialog();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698