| 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 791e0bf4fc8e74a12940f16a2372513bd4534a44..6f167f0ebd712883021cbba6cc2c0961c4296b01 100644
|
| --- a/chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| +++ b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| @@ -7,8 +7,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "content/public/browser/web_ui_controller.h"
|
| -
|
| -class WebContentsModalDialog;
|
| +#include "ui/gfx/native_widget_types.h"
|
|
|
| namespace content {
|
| class BrowserContext;
|
| @@ -35,12 +34,12 @@ class ConstrainedWebDialogDelegate {
|
| // released WebContents.
|
| virtual void ReleaseWebContentsOnDialogClose() = 0;
|
|
|
| - // Returns the WebContentsModalDialog.
|
| - virtual WebContentsModalDialog* GetWindow() = 0;
|
| -
|
| // Returns the WebContents owned by the constrained window.
|
| virtual content::WebContents* GetWebContents() = 0;
|
|
|
| + // Returns the NativeWindow used to display the dialog.
|
| + virtual gfx::NativeWindow GetNativeWindow() = 0;
|
| +
|
| protected:
|
| virtual ~ConstrainedWebDialogDelegate() {}
|
| };
|
|
|