diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 07:58:34 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 07:58:34 +0000 |
commit | 57c6a6579cf274fe37d6196931a3034d90da7113 (patch) | |
tree | ec42313580156ccc039b5fee714ee12259cb08ee /chrome/browser/jsmessage_box_handler.h | |
parent | b23c9e1f05d474adc327c85d87eacc77554976e0 (diff) | |
download | chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.zip chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.tar.gz chromium_src-57c6a6579cf274fe37d6196931a3034d90da7113.tar.bz2 |
Replace all occurrances of WebContents with TabContents.
Review URL: http://codereview.chromium.org/99177
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jsmessage_box_handler.h')
-rw-r--r-- | chrome/browser/jsmessage_box_handler.h | 6 |
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); |