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 c906b6b111e0e7ab234328e9d89408a93a7bcf31..a1b1a5b9e559e16538b64b0a74d8305a49f58860 100644 |
| --- a/content/browser/frame_host/navigator_delegate.h |
| +++ b/content/browser/frame_host/navigator_delegate.h |
| @@ -12,10 +12,22 @@ class RenderFrameHost; |
| // A delegate API used by Navigator to notify its embedder of navigation |
| // related events. |
| class NavigatorDelegate { |
| - // TODO(nasko): This class will be used to dispatch notifications to |
| - // WebContentsImpl, such as DidStartProvisionalLoad and |
| - // NotifyNavigationStateChanged. Longer term, most of the |
| - // NavigationControllerDelegate methods will likely move here. |
| + public: |
| + virtual void DidStartProvisionalLoad( |
|
Charlie Reis
2013/11/21 21:59:32
This is where these methods should be documented.
nasko
2013/11/22 01:02:34
Done.
|
| + RenderFrameHostImpl* render_frame_host, |
| + int64 frame_id, |
| + int64 parent_frame_id, |
| + bool is_main_frame, |
| + const GURL& validated_url, |
| + bool is_error_page, |
| + bool is_iframe_srcdoc) = 0; |
|
Charlie Reis
2013/11/21 21:59:32
These should have default implementations that do
nasko
2013/11/22 01:02:34
Done.
|
| + |
| + virtual void NotifyProvisionalChangeToMainFrameUrl( |
| + RenderFrameHostImpl* render_frame_host, |
| + const GURL& url) = 0; |
| + |
| + virtual void NotifyNavigationStateChanged(unsigned changed_flags) = 0; |
| + |
| }; |
| } // namspace content |