Index: content/browser/tab_contents/tab_contents.h |
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h |
index 7e4ee78e332fb48efb6f48c468bf1b8ef12feccd..b4cef41d7e37feabf604ff5865a1aa8b3f17548a 100644 |
--- a/content/browser/tab_contents/tab_contents.h |
+++ b/content/browser/tab_contents/tab_contents.h |
@@ -269,14 +269,14 @@ class CONTENT_EXPORT TabContents |
WindowOpenDisposition disposition, |
int64 source_frame_id, |
const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
- virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
+ virtual void RunJavaScriptMessage(RenderViewHost* rvh, |
const string16& message, |
const string16& default_prompt, |
const GURL& frame_url, |
ui::JavascriptMessageType type, |
IPC::Message* reply_msg, |
bool* did_suppress_message) OVERRIDE; |
- virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, |
+ virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh, |
const string16& message, |
IPC::Message* reply_msg) OVERRIDE; |
virtual content::RendererPreferences GetRendererPrefs( |
@@ -337,7 +337,8 @@ class CONTENT_EXPORT TabContents |
virtual void CreateViewAndSetSizeForRVH(RenderViewHost* rvh) OVERRIDE; |
// Overridden from JavaScriptDialogDelegate: |
- virtual void OnDialogClosed(IPC::Message* reply_msg, |
+ virtual void OnDialogClosed(RenderViewHost* rvh, |
+ IPC::Message* reply_msg, |
bool success, |
const string16& user_input) OVERRIDE; |
virtual gfx::NativeWindow GetDialogRootWindow() const OVERRIDE; |