Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index be5d687e5000cdb7c6e53b2b9f7486fbf26960a7..ed564bb9a179c408df33f57190b3123e3a5e0c4d 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -493,14 +493,16 @@ class RenderViewHostDelegate : public IPC::Channel::Listener { |
const std::string& target) {} |
// A javascript message, confirmation or prompt should be shown. |
- virtual void RunJavaScriptMessage(const std::wstring& message, |
+ virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
+ const std::wstring& message, |
const std::wstring& default_prompt, |
const GURL& frame_url, |
const int flags, |
IPC::Message* reply_msg, |
bool* did_suppress_message) {} |
- virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
+ virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, |
+ const std::wstring& message, |
IPC::Message* reply_msg) {} |
// |url| is assigned to a server that can provide alternate error pages. If |