| 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 f4f07832d843f5122fa5382e3b2b8faed9d7f8e5..798fb2e6dde571845df2cb01c477a801400317f0 100644
|
| --- a/content/browser/renderer_host/render_view_host_delegate.h
|
| +++ b/content/browser/renderer_host/render_view_host_delegate.h
|
| @@ -470,6 +470,46 @@ class RenderViewHostDelegate : public IPC::Channel::Listener {
|
| // entirely loaded).
|
| virtual void DidChangeLoadProgress(double progress) {}
|
|
|
| + // The RenderView started a provisional load in the given frame.
|
| + virtual void DidStartProvisionalLoadForFrame(int64 frame_id,
|
| + bool main_frame,
|
| + const GURL& url) {}
|
| +
|
| + // The RenderView redirected a provisional load to |target_url|.
|
| + virtual void DidRedirectProvisionalLoad(int32 page_id,
|
| + const GURL& source_url,
|
| + const GURL& target_url) {}
|
| +
|
| + // The RenderView's provisional load in the given frame failed.
|
| + virtual void DidFailProvisionalLoadWithError(
|
| + int64 frame_id,
|
| + bool main_frame,
|
| + int error_code,
|
| + const GURL& url,
|
| + bool showing_repost_interstitial) {}
|
| +
|
| + // The RenderView loaded |url| from the in-memory cache.
|
| + virtual void DidLoadResourceFromMemoryCache(
|
| + const GURL& url,
|
| + const std::string& security_info) {}
|
| +
|
| + // The RenderView displayed insecure content and should not be considered
|
| + // secure.
|
| + virtual void DidDisplayInsecureContent() {}
|
| +
|
| + // The RenderView ran insecure content and should not be considered secure.
|
| + virtual void DidRunInsecureContent(const std::string& security_origin,
|
| + const GURL& target_url) {}
|
| +
|
| + // The RenderView loaded a document in the given frame.
|
| + virtual void DocumentLoadedInFrame(int64 frame_id) {}
|
| +
|
| + // The RenderView finished a load in the given frame.
|
| + virtual void DidFinishLoad(int64 frame_id) {}
|
| +
|
| + // The RenderView requested updating content restrictions.
|
| + virtual void UpdateContentRestrictions(int restrictions) {}
|
| +
|
| // The RenderView's main frame document element is ready. This happens when
|
| // the document has finished parsing.
|
| virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {}
|
| @@ -502,14 +542,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
|
|
|