| Index: chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| diff --git a/chrome/browser/ui/webui/constrained_web_dialog_ui.h b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| index ea1e2ca67578fc838b52b3bcc06ef23a8ab24f6b..791e0bf4fc8e74a12940f16a2372513bd4534a44 100644
|
| --- a/chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| +++ b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| @@ -8,7 +8,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "content/public/browser/web_ui_controller.h"
|
|
|
| -class ConstrainedWindow;
|
| +class WebContentsModalDialog;
|
|
|
| namespace content {
|
| class BrowserContext;
|
| @@ -35,8 +35,8 @@ class ConstrainedWebDialogDelegate {
|
| // released WebContents.
|
| virtual void ReleaseWebContentsOnDialogClose() = 0;
|
|
|
| - // Returns the ConstrainedWindow.
|
| - virtual ConstrainedWindow* GetWindow() = 0;
|
| + // Returns the WebContentsModalDialog.
|
| + virtual WebContentsModalDialog* GetWindow() = 0;
|
|
|
| // Returns the WebContents owned by the constrained window.
|
| virtual content::WebContents* GetWebContents() = 0;
|
| @@ -47,9 +47,9 @@ class ConstrainedWebDialogDelegate {
|
|
|
| // ConstrainedWebDialogUI is a facility to show HTML WebUI content
|
| // in a tab-modal constrained dialog. It is implemented as an adapter
|
| -// between an WebDialogUI object and a ConstrainedWindow object.
|
| +// between an WebDialogUI object and a WebContentsModalDialog object.
|
| //
|
| -// Since ConstrainedWindow requires platform-specific delegate
|
| +// Since WebContentsModalDialog requires platform-specific delegate
|
| // implementations, this class is just a factory stub.
|
| // TODO(thestig): Refactor the platform-independent code out of the
|
| // platform-specific implementations.
|
|
|