| Index: chrome/browser/ui/webui/constrained_web_dialog_ui.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/constrained_web_dialog_ui.h (revision 135175)
|
| +++ chrome/browser/ui/webui/constrained_web_dialog_ui.h (working copy)
|
| @@ -12,8 +12,11 @@
|
| class ConstrainedWindow;
|
| class Profile;
|
| class TabContentsWrapper;
|
| +
|
| +namespace web_dialogs {
|
| class WebDialogDelegate;
|
| -class WebDialogWebContentsDelegate;
|
| +}
|
| +class ChromeWebDialogWebContentsDelegate;
|
|
|
| namespace base {
|
| template<class T> class PropertyAccessor;
|
| @@ -25,8 +28,9 @@
|
|
|
| class ConstrainedWebDialogDelegate {
|
| public:
|
| - virtual const WebDialogDelegate* GetWebDialogDelegate() const = 0;
|
| - virtual WebDialogDelegate* GetWebDialogDelegate() = 0;
|
| + virtual const web_dialogs::WebDialogDelegate*
|
| + GetWebDialogDelegate() const = 0;
|
| + virtual web_dialogs::WebDialogDelegate* GetWebDialogDelegate() = 0;
|
|
|
| // Called when the dialog is being closed in response to a "DialogClose"
|
| // message from WebUI.
|
| @@ -76,8 +80,8 @@
|
| // |overshadowed| is the tab being overshadowed by the dialog.
|
| static ConstrainedWebDialogDelegate* CreateConstrainedWebDialog(
|
| Profile* profile,
|
| - WebDialogDelegate* delegate,
|
| - WebDialogWebContentsDelegate* tab_delegate,
|
| + web_dialogs::WebDialogDelegate* delegate,
|
| + ChromeWebDialogWebContentsDelegate* tab_delegate,
|
| TabContentsWrapper* overshadowed);
|
|
|
| // Returns a property accessor that can be used to set the
|
|
|