Index: content/browser/frame_host/navigator_impl.h |
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h |
index 4b66876a7a0081adf613950633d62c02b2df986a..90434f141e8d54c8a3b5f0b70047891c1838b239 100644 |
--- a/content/browser/frame_host/navigator_impl.h |
+++ b/content/browser/frame_host/navigator_impl.h |
@@ -10,6 +10,8 @@ |
#include "content/browser/frame_host/navigator.h" |
#include "content/common/content_export.h" |
+struct FrameMsg_Navigate_Params; |
+ |
namespace content { |
class NavigationControllerImpl; |
@@ -23,6 +25,13 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator { |
NavigatorImpl(NavigationControllerImpl* navigation_controller, |
NavigatorDelegate* delegate); |
+ // Fills in |params| based on the content of |entry|. |
+ static void MakeNavigateParams(const NavigationEntryImpl& entry, |
+ const NavigationControllerImpl& controller, |
+ NavigationController::ReloadType reload_type, |
+ base::TimeTicks navigation_start, |
+ FrameMsg_Navigate_Params* params); |
+ |
// Navigator implementation. |
virtual NavigationController* GetController() OVERRIDE; |
virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
@@ -67,6 +76,12 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator { |
bool should_replace_current_entry, |
bool user_gesture) OVERRIDE; |
+ // Will crash the browser if |render_frame_host| is a Web-UI renderer that |
+ // tries to display a non Web UI |url|. |
+ virtual void CheckWebUIRendererDoesNotDisplayNormalURL( |
+ RenderFrameHostImpl* render_frame_host, |
+ const GURL& url) OVERRIDE; |
+ |
private: |
virtual ~NavigatorImpl() {} |