| Index: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
|
| diff --git a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
|
| index c814c7d2ea50142bec3afe6c61e34edcca09f2b8..3fcc0fb6b664c0090b048c9ed348432de41e640f 100644
|
| --- a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
|
| +++ b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h
|
| @@ -29,7 +29,7 @@ class ConstrainedWebDialogDelegateBase
|
| WebDialogWebContentsDelegate* tab_delegate);
|
| virtual ~ConstrainedWebDialogDelegateBase();
|
|
|
| - void set_window(ConstrainedWindow* window);
|
| + void set_window(WebContentsModalDialog* window);
|
| bool closed_via_webui() const;
|
|
|
| // ConstrainedWebDialogDelegate interface.
|
| @@ -38,7 +38,7 @@ class ConstrainedWebDialogDelegateBase
|
| virtual ui::WebDialogDelegate* GetWebDialogDelegate() OVERRIDE;
|
| virtual void OnDialogCloseFromWebUI() OVERRIDE;
|
| virtual void ReleaseWebContentsOnDialogClose() OVERRIDE;
|
| - virtual ConstrainedWindow* GetWindow() OVERRIDE;
|
| + virtual WebContentsModalDialog* GetWindow() OVERRIDE;
|
| virtual content::WebContents* GetWebContents() OVERRIDE;
|
|
|
| // WebDialogWebContentsDelegate interface.
|
| @@ -53,8 +53,9 @@ class ConstrainedWebDialogDelegateBase
|
| private:
|
| scoped_ptr<ui::WebDialogDelegate> web_dialog_delegate_;
|
|
|
| - // The constrained window that owns |this|. Saved so we can close it later.
|
| - ConstrainedWindow* window_;
|
| + // The web contents modal dialog that owns |this|. Saved so we can close it
|
| + // later.
|
| + WebContentsModalDialog* window_;
|
|
|
| // Holds the HTML to display in the constrained dialog.
|
| scoped_ptr<content::WebContents> web_contents_;
|
|
|