Index: chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc |
=================================================================== |
--- chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc (revision 133969) |
+++ chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc (working copy) |
@@ -12,7 +12,7 @@ |
#include "chrome/browser/ui/browser_dialogs.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/dialog_style.h" |
-#include "chrome/browser/ui/webui/html_dialog_ui.h" |
+#include "chrome/browser/ui/webui/web_dialog_ui.h" |
#include "chrome/common/url_constants.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -21,7 +21,7 @@ |
using content::WebContents; |
using content::WebUIMessageHandler; |
-class MobileSetupDialogDelegate : public HtmlDialogUIDelegate { |
+class MobileSetupDialogDelegate : public WebDialogDelegate { |
public: |
static MobileSetupDialogDelegate* GetInstance(); |
void ShowDialog(); |
@@ -34,7 +34,7 @@ |
void OnCloseDialog(); |
- // HtmlDialogUIDelegate overrides. |
+ // WebDialogDelegate overrides. |
virtual ui::ModalType GetDialogModalType() const OVERRIDE; |
virtual string16 GetDialogTitle() const OVERRIDE; |
virtual GURL GetDialogContentURL() const OVERRIDE; |
@@ -76,7 +76,7 @@ |
Browser* browser = BrowserList::GetLastActive(); |
if (!browser) |
return; |
- browser->BrowserShowHtmlDialog(this, NULL, STYLE_GENERIC); |
+ browser->BrowserShowWebDialog(this, NULL, STYLE_GENERIC); |
} |
ui::ModalType MobileSetupDialogDelegate::GetDialogModalType() const { |