| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // NavigationEntry has started in the browser process. | 92 // NavigationEntry has started in the browser process. |
| 93 virtual void DidStartNavigationToPendingEntry( | 93 virtual void DidStartNavigationToPendingEntry( |
| 94 RenderFrameHostImpl* render_frame_host, | 94 RenderFrameHostImpl* render_frame_host, |
| 95 const GURL& url, | 95 const GURL& url, |
| 96 NavigationController::ReloadType reload_type) {} | 96 NavigationController::ReloadType reload_type) {} |
| 97 | 97 |
| 98 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which | 98 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which |
| 99 // this forwards to. | 99 // this forwards to. |
| 100 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 100 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 101 const OpenURLParams& params) {} | 101 const OpenURLParams& params) {} |
| 102 |
| 103 // Returns whether URLs for aborted browser-initiated navigations should be |
| 104 // preserved in the omnibox. Defaults to false. |
| 105 virtual bool ShouldPreserveAbortedURLs(); |
| 102 }; | 106 }; |
| 103 | 107 |
| 104 } // namspace content | 108 } // namspace content |
| 105 | 109 |
| 106 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 110 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| OLD | NEW |