diff options
Diffstat (limited to 'content/browser/tab_contents/tab_contents.h')
-rw-r--r-- | content/browser/tab_contents/tab_contents.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h index 8cb9cfe7..6f124435 100644 --- a/content/browser/tab_contents/tab_contents.h +++ b/content/browser/tab_contents/tab_contents.h @@ -758,13 +758,15 @@ class TabContents : public PageNavigator, virtual void ProcessExternalHostMessage(const std::string& message, const std::string& origin, const std::string& target); - 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); virtual GURL GetAlternateErrorPageURL() const; virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |