Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "content/public/browser/invalidate_type.h" | 9 #include "content/public/browser/invalidate_type.h" |
| 10 #include "content/public/browser/navigation_controller.h" | 10 #include "content/public/browser/navigation_controller.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 81 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {} | 81 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {} |
| 82 | 82 |
| 83 // Notifies the Navigator embedder that it is beginning to navigate a frame. | 83 // Notifies the Navigator embedder that it is beginning to navigate a frame. |
| 84 virtual void AboutToNavigateRenderFrame( | 84 virtual void AboutToNavigateRenderFrame( |
| 85 RenderFrameHostImpl* old_host, | 85 RenderFrameHostImpl* old_host, |
| 86 RenderFrameHostImpl* new_host) {} | 86 RenderFrameHostImpl* new_host) {} |
| 87 | 87 |
| 88 // Notifies the Navigator embedder that a navigation to pending | 88 // Notifies the Navigator embedder that a navigation to pending |
| 89 // NavigationEntry has started in the browser process. | 89 // NavigationEntry has started in the browser process. |
| 90 virtual void DidStartNavigationToPendingEntry( | 90 virtual void DidStartNavigationToPendingEntry( |
| 91 RenderFrameHostImpl* render_frame_host, | |
|
carlosk
2015/02/20 19:16:51
I removed this parameter because a) it was not bei
clamy
2015/02/23 10:52:34
Is this necessary for this patch? If not, I would
carlosk
2015/03/04 19:42:40
Change was moved to another CL.
| |
| 92 const GURL& url, | 91 const GURL& url, |
| 93 NavigationController::ReloadType reload_type) {} | 92 NavigationController::ReloadType reload_type) {} |
| 94 | 93 |
| 95 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which | 94 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which |
| 96 // this forwards to. | 95 // this forwards to. |
| 97 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 96 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 98 const OpenURLParams& params) {} | 97 const OpenURLParams& params) {} |
| 99 | 98 |
| 100 // Returns whether URLs for aborted browser-initiated navigations should be | 99 // Returns whether URLs for aborted browser-initiated navigations should be |
| 101 // preserved in the omnibox. Defaults to false. | 100 // preserved in the omnibox. Defaults to false. |
| 102 virtual bool ShouldPreserveAbortedURLs(); | 101 virtual bool ShouldPreserveAbortedURLs(); |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namspace content | 104 } // namspace content |
| 106 | 105 |
| 107 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 106 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| OLD | NEW |