summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jsmessage_box_handler.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 21:11:57 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 21:11:57 +0000
commit8710e40ca5da072e49ca2e5c5ba5c17eb3379896 (patch)
tree32cb57353d287426d44d18347933fbfd0247f6e7 /chrome/browser/jsmessage_box_handler.h
parenta034b50b091f08d0a1ef5dbd61b7bc3c91afe5a9 (diff)
downloadchromium_src-8710e40ca5da072e49ca2e5c5ba5c17eb3379896.zip
chromium_src-8710e40ca5da072e49ca2e5c5ba5c17eb3379896.tar.gz
chromium_src-8710e40ca5da072e49ca2e5c5ba5c17eb3379896.tar.bz2
Revert 31110 - Implement window.alert() and its cousins for extensions.
BUG=12126 TEST=put a window.prompt() in a background page, a browser action, and a page action. Make sure it gets the result back correctly. Also make sure it still works when called from a web page. Review URL: http://codereview.chromium.org/341089 TBR=pam@chromium.org Review URL: http://codereview.chromium.org/360063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jsmessage_box_handler.h')
-rw-r--r--chrome/browser/jsmessage_box_handler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/jsmessage_box_handler.h b/chrome/browser/jsmessage_box_handler.h
index 9ec6652..856c1c5 100644
--- a/chrome/browser/jsmessage_box_handler.h
+++ b/chrome/browser/jsmessage_box_handler.h
@@ -10,7 +10,6 @@
#include "ipc/ipc_message.h"
class GURL;
-class JavaScriptMessageBoxClient;
class TabContents;
// Creates and runs a Javascript Message Box dialog.
@@ -19,7 +18,7 @@ class TabContents;
// 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(JavaScriptMessageBoxClient* client,
+void RunJavascriptMessageBox(TabContents* tab_contents,
const GURL& frame_url,
int dialog_flags,
const std::wstring& message_text,