Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3532)

Unified Diff: chrome/browser/jsmessage_box_handler.h

Issue 39163: Make JavaScript alerts reflect the URL of the frame they came from, not the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/js_before_unload_handler_win.cc ('k') | chrome/browser/jsmessage_box_handler_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/jsmessage_box_handler.h
===================================================================
--- chrome/browser/jsmessage_box_handler.h (revision 10892)
+++ chrome/browser/jsmessage_box_handler.h (working copy)
@@ -9,6 +9,7 @@
#include "chrome/common/ipc_message.h"
+class GURL;
class WebContents;
// Creates and runs a Javascript Message Box dialog.
@@ -18,6 +19,7 @@
// |default_prompt_text|. The result of the operation is returned using
// |reply_msg|.
void RunJavascriptMessageBox(WebContents* web_contents,
+ const GURL& frame_url,
int dialog_flags,
const std::wstring& message_text,
const std::wstring& default_prompt_text,
« no previous file with comments | « chrome/browser/js_before_unload_handler_win.cc ('k') | chrome/browser/jsmessage_box_handler_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698