Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 1048463004: PlzNavigate: track pending commits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved state tracking to RFH Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 657
658 // For use in creating RenderFrameHosts. 658 // For use in creating RenderFrameHosts.
659 FrameTreeNode* frame_tree_node_; 659 FrameTreeNode* frame_tree_node_;
660 660
661 // Our delegate, not owned by us. Guaranteed non-NULL. 661 // Our delegate, not owned by us. Guaranteed non-NULL.
662 Delegate* delegate_; 662 Delegate* delegate_;
663 663
664 // Whether a navigation requiring different RenderFrameHosts is pending. This 664 // Whether a navigation requiring different RenderFrameHosts is pending. This
665 // is either for cross-site requests or when required for the process type 665 // is either for cross-site requests or when required for the process type
666 // (like WebUI). 666 // (like WebUI).
667 // PlzNavigate: |cross_navigation_pending_| is not used for browser-side 667 // PlzNavigate: not used.
668 // navigation.
669 bool cross_navigation_pending_; 668 bool cross_navigation_pending_;
670 669
671 // Implemented by the owner of this class. These delegates are installed into 670 // Implemented by the owner of this class. These delegates are installed into
672 // all the RenderFrameHosts that we create. 671 // all the RenderFrameHosts that we create.
673 RenderFrameHostDelegate* render_frame_delegate_; 672 RenderFrameHostDelegate* render_frame_delegate_;
674 RenderViewHostDelegate* render_view_delegate_; 673 RenderViewHostDelegate* render_view_delegate_;
675 RenderWidgetHostDelegate* render_widget_delegate_; 674 RenderWidgetHostDelegate* render_widget_delegate_;
676 675
677 // Our RenderFrameHost and its associated Web UI (if any, will be NULL for 676 // Our RenderFrameHost and its associated Web UI (if any, will be NULL for
678 // non-WebUI pages). This object is responsible for all communication with 677 // non-WebUI pages). This object is responsible for all communication with
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 bool should_reuse_web_ui_; 745 bool should_reuse_web_ui_;
747 746
748 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 747 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
749 748
750 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 749 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
751 }; 750 };
752 751
753 } // namespace content 752 } // namespace content
754 753
755 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 754 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698