Chromium Code Reviews| Index: content/browser/frame_host/navigator_delegate.h |
| diff --git a/content/browser/frame_host/navigator_delegate.h b/content/browser/frame_host/navigator_delegate.h |
| index 369ee8fec1572baf23796010a1c6d15a521a6c56..0d2dae8c217c5dd9f2228f4ec027e1a2129f8494 100644 |
| --- a/content/browser/frame_host/navigator_delegate.h |
| +++ b/content/browser/frame_host/navigator_delegate.h |
| @@ -95,6 +95,22 @@ class CONTENT_EXPORT NavigatorDelegate { |
| const GURL& url, |
| NavigationController::ReloadType reload_type) {} |
| + // The RenderFrame began loading a new page. This corresponds to Blink's |
| + // notion of the throbber starting. |
| + // |to_different_document| will be true unless the load is a fragment |
| + // navigation, or triggered by history.pushState/replaceState. |
| + virtual void DidStartLoading(RenderFrameHostImpl* render_frame_host, |
| + bool to_different_document) {} |
| + |
| + // The RenderFrame stopped loading a page. This corresponds to Blink's notion |
| + // of the throbber stopping. |
| + virtual void DidStopLoading(RenderFrameHostImpl* render_frame_host) {} |
| + |
| + // The page made progress loading. |
|
nasko
2014/05/02 22:48:23
nit: Why break up the line in the middle, it has l
Avi (use Gerrit)
2014/05/05 15:15:02
Done.
|
| + // |progress| is a value between 0 (nothing loaded) to 1.0 (page entirely |
| + // loaded). |
| + virtual void DidChangeLoadProgress(double progress) {} |
| + |
| // Opens a URL with the given parameters. See PageNavigator::OpenURL, which |
| // this forwards to. |
| virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |