Index: content/browser/frame_host/navigator.h |
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h |
index 981bd8af8cd9f60f5b08f7f3791ff4a7e19d1ee2..8771dd26496f6c72f43a898c83ba2b1ac9794e15 100644 |
--- a/content/browser/frame_host/navigator.h |
+++ b/content/browser/frame_host/navigator.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/time/time.h" |
+#include "content/browser/frame_host/navigator_delegate.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/navigation_controller.h" |
#include "ui/base/window_open_disposition.h" |
@@ -26,7 +27,6 @@ class FrameTreeNode; |
class NavigationControllerImpl; |
class NavigationEntryImpl; |
class NavigationRequest; |
-class NavigatorDelegate; |
class RenderFrameHostImpl; |
class ResourceRequestBody; |
class StreamHandle; |
@@ -43,6 +43,9 @@ struct ResourceResponse; |
// from WebContentsImpl to this interface. |
class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
public: |
+ // Returns the delegate of this Navigator. |
+ virtual NavigatorDelegate* GetDelegate(); |
+ |
// Returns the NavigationController associated with this Navigator. |
virtual NavigationController* GetController(); |
@@ -88,7 +91,6 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
FrameTreeNode* frame_tree_node, |
NavigationController::ReloadType reload_type); |
- |
// Navigation requests ------------------------------------------------------- |
virtual base::TimeTicks GetCurrentLoadStart(); |