| 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_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // Navigation requests ------------------------------------------------------- | 92 // Navigation requests ------------------------------------------------------- |
| 93 | 93 |
| 94 virtual base::TimeTicks GetCurrentLoadStart(); | 94 virtual base::TimeTicks GetCurrentLoadStart(); |
| 95 | 95 |
| 96 // The RenderFrameHostImpl has received a request to open a URL with the | 96 // The RenderFrameHostImpl has received a request to open a URL with the |
| 97 // specified |disposition|. | 97 // specified |disposition|. |
| 98 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 98 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 99 const GURL& url, | 99 const GURL& url, |
| 100 SiteInstance* source_site_instance, | 100 SiteInstance* source_site_instance, |
| 101 const Referrer& referrer, | 101 const Referrer& referrer, |
| 102 ui::PageTransition page_transition, |
| 102 WindowOpenDisposition disposition, | 103 WindowOpenDisposition disposition, |
| 103 bool should_replace_current_entry, | 104 bool should_replace_current_entry, |
| 104 bool user_gesture) {} | 105 bool user_gesture) {} |
| 105 | 106 |
| 106 // The RenderFrameHostImpl wants to transfer the request to a new renderer. | 107 // The RenderFrameHostImpl wants to transfer the request to a new renderer. |
| 107 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened | 108 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened |
| 108 // before the transfer. | 109 // before the transfer. |
| 109 virtual void RequestTransferURL( | 110 virtual void RequestTransferURL( |
| 110 RenderFrameHostImpl* render_frame_host, | 111 RenderFrameHostImpl* render_frame_host, |
| 111 const GURL& url, | 112 const GURL& url, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 virtual bool IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node); | 178 virtual bool IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node); |
| 178 | 179 |
| 179 protected: | 180 protected: |
| 180 friend class base::RefCounted<Navigator>; | 181 friend class base::RefCounted<Navigator>; |
| 181 virtual ~Navigator() {} | 182 virtual ~Navigator() {} |
| 182 }; | 183 }; |
| 183 | 184 |
| 184 } // namespace content | 185 } // namespace content |
| 185 | 186 |
| 186 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | 187 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ |
| OLD | NEW |