| Index: content/browser/frame_host/render_frame_host_impl.h
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
|
| index b457a076e55120811cd6f0c7b214af7d5c936e3a..63515a9b24781ab6770ac5082231b14a47867884 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -95,9 +95,9 @@ enum CreateRenderFrameFlags {
|
| CREATE_RF_HIDDEN = 1 << 1,
|
| };
|
|
|
| -class CONTENT_EXPORT RenderFrameHostImpl
|
| - : public RenderFrameHost,
|
| - public BrowserAccessibilityDelegate {
|
| +class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
|
| + public BrowserAccessibilityDelegate,
|
| + public SiteInstanceImpl::Observer {
|
| public:
|
| using AXTreeSnapshotCallback =
|
| base::Callback<void(
|
| @@ -201,6 +201,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
|
| gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
|
|
|
| + // SiteInstanceImpl::Observer
|
| + void RenderProcessGone(SiteInstanceImpl* site_instance) override;
|
| +
|
| // Creates a RenderFrame in the renderer process.
|
| bool CreateRenderFrame(int proxy_routing_id,
|
| int opener_routing_id,
|
| @@ -523,6 +526,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| // Returns the Mojo ImageDownloader service.
|
| const image_downloader::ImageDownloaderPtr& GetMojoImageDownloader();
|
|
|
| + // Resets the loading state. Following this call, the RenderFrameHost will be
|
| + // in a non-loading state.
|
| + void ResetLoadingState();
|
| +
|
| protected:
|
| friend class RenderFrameHostFactory;
|
|
|
| @@ -568,7 +575,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| const base::string16& error_description,
|
| bool was_ignored_by_handler);
|
| void OnDidCommitProvisionalLoad(const IPC::Message& msg);
|
| - void OnDidDropNavigation();
|
| void OnUpdateState(const PageState& state);
|
| void OnBeforeUnloadACK(
|
| bool proceed,
|
|
|