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

Unified Diff: ui/web_dialogs/web_dialog_delegate.h

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/web_dialogs/web_dialog_delegate.h
diff --git a/ui/web_dialogs/web_dialog_delegate.h b/ui/web_dialogs/web_dialog_delegate.h
index 2bd772f018e2e49f4424aa20bc9498f86ce1789c..827b4b56d300926d731628137bbd423e3e74c107 100644
--- a/ui/web_dialogs/web_dialog_delegate.h
+++ b/ui/web_dialogs/web_dialog_delegate.h
@@ -69,6 +69,10 @@ class WEB_DIALOGS_EXPORT WebDialogDelegate {
// agreement, etc.
virtual bool CanCloseDialog() const;
+ // Returns true if the dialog can ever be resized. Default implementation
+ // returns |true|.
+ virtual bool CanResizeDialog() const;
+
// A callback to notify the delegate that |source|'s loading state has
// changed.
virtual void OnLoadingStateChanged(content::WebContents* source) {}

Powered by Google App Engine
This is Rietveld 408576698