summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jsmessage_box_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/jsmessage_box_handler.h')
-rw-r--r--chrome/browser/jsmessage_box_handler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/jsmessage_box_handler.h b/chrome/browser/jsmessage_box_handler.h
index 86e7b70..a4c0bdb 100644
--- a/chrome/browser/jsmessage_box_handler.h
+++ b/chrome/browser/jsmessage_box_handler.h
@@ -10,7 +10,7 @@
#include "chrome/common/ipc_message.h"
class GURL;
-class WebContents;
+class TabContents;
// Creates and runs a Javascript Message Box dialog.
// The dialog type is specified within |dialog_flags|, the
@@ -18,7 +18,7 @@ class WebContents;
// a user input prompt() box, the default text for the text field is in
// |default_prompt_text|. The result of the operation is returned using
// |reply_msg|.
-void RunJavascriptMessageBox(WebContents* web_contents,
+void RunJavascriptMessageBox(TabContents* tab_contents,
const GURL& frame_url,
int dialog_flags,
const std::wstring& message_text,
@@ -30,7 +30,7 @@ void RunJavascriptMessageBox(WebContents* web_contents,
// the user if they wish to navigate away from a page, with additional text
// |message_text| between the header and footer. The users response is
// returned to the renderer using |reply_msg|.
-void RunBeforeUnloadDialog(WebContents* web_contents,
+void RunBeforeUnloadDialog(TabContents* tab_contents,
const std::wstring& message_text,
IPC::Message* reply_msg);