| 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_RENDER_FRAME_HOST_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // somehwere else. | 259 // somehwere else. |
| 260 void RemoveOuterDelegateFrame(); | 260 void RemoveOuterDelegateFrame(); |
| 261 | 261 |
| 262 // Returns the pending RenderFrameHost, or NULL if there is no pending one. | 262 // Returns the pending RenderFrameHost, or NULL if there is no pending one. |
| 263 RenderFrameHostImpl* pending_frame_host() const { | 263 RenderFrameHostImpl* pending_frame_host() const { |
| 264 return pending_render_frame_host_.get(); | 264 return pending_render_frame_host_.get(); |
| 265 } | 265 } |
| 266 | 266 |
| 267 // Returns the speculative RenderFrameHost, or null if there is no speculative | 267 // Returns the speculative RenderFrameHost, or null if there is no speculative |
| 268 // one. | 268 // one. |
| 269 RenderFrameHostImpl* speculative_frame_host_for_testing() const { | 269 RenderFrameHostImpl* speculative_frame_host() const { |
| 270 return speculative_render_frame_host_.get(); | 270 return speculative_render_frame_host_.get(); |
| 271 } | 271 } |
| 272 | 272 |
| 273 // TODO(creis): Remove this when we no longer use RVH for navigation. | 273 // TODO(creis): Remove this when we no longer use RVH for navigation. |
| 274 RenderViewHostImpl* pending_render_view_host() const; | 274 RenderViewHostImpl* pending_render_view_host() const; |
| 275 | 275 |
| 276 // Returns the current committed Web UI or NULL if none applies. | 276 // Returns the current committed Web UI or NULL if none applies. |
| 277 WebUIImpl* web_ui() const { return web_ui_.get(); } | 277 WebUIImpl* web_ui() const { return web_ui_.get(); } |
| 278 | 278 |
| 279 // Returns the Web UI for the pending navigation, or NULL of none applies. | 279 // Returns the Web UI for the pending navigation, or NULL of none applies. |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 bool should_reuse_web_ui_; | 802 bool should_reuse_web_ui_; |
| 803 | 803 |
| 804 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 804 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
| 805 | 805 |
| 806 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 806 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
| 807 }; | 807 }; |
| 808 | 808 |
| 809 } // namespace content | 809 } // namespace content |
| 810 | 810 |
| 811 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 811 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| OLD | NEW |