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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 | 655 |
656 // For use in creating RenderFrameHosts. | 656 // For use in creating RenderFrameHosts. |
657 FrameTreeNode* frame_tree_node_; | 657 FrameTreeNode* frame_tree_node_; |
658 | 658 |
659 // Our delegate, not owned by us. Guaranteed non-NULL. | 659 // Our delegate, not owned by us. Guaranteed non-NULL. |
660 Delegate* delegate_; | 660 Delegate* delegate_; |
661 | 661 |
662 // Whether a navigation requiring different RenderFrameHosts is pending. This | 662 // Whether a navigation requiring different RenderFrameHosts is pending. This |
663 // is either for cross-site requests or when required for the process type | 663 // is either for cross-site requests or when required for the process type |
664 // (like WebUI). | 664 // (like WebUI). |
665 // PlzNavigate: |cross_navigation_pending_| is not used for browser-side | 665 // PlzNavigate: not used. |
666 // navigation. | |
667 bool cross_navigation_pending_; | 666 bool cross_navigation_pending_; |
668 | 667 |
669 // Implemented by the owner of this class. These delegates are installed into | 668 // Implemented by the owner of this class. These delegates are installed into |
670 // all the RenderFrameHosts that we create. | 669 // all the RenderFrameHosts that we create. |
671 RenderFrameHostDelegate* render_frame_delegate_; | 670 RenderFrameHostDelegate* render_frame_delegate_; |
672 RenderViewHostDelegate* render_view_delegate_; | 671 RenderViewHostDelegate* render_view_delegate_; |
673 RenderWidgetHostDelegate* render_widget_delegate_; | 672 RenderWidgetHostDelegate* render_widget_delegate_; |
674 | 673 |
675 // Our RenderFrameHost and its associated Web UI (if any, will be NULL for | 674 // Our RenderFrameHost and its associated Web UI (if any, will be NULL for |
676 // non-WebUI pages). This object is responsible for all communication with | 675 // non-WebUI pages). This object is responsible for all communication with |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 bool should_reuse_web_ui_; | 743 bool should_reuse_web_ui_; |
745 | 744 |
746 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 745 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
747 | 746 |
748 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 747 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
749 }; | 748 }; |
750 | 749 |
751 } // namespace content | 750 } // namespace content |
752 | 751 |
753 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 752 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
OLD | NEW |