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

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

Issue 1202593002: Move browser-to-renderer opener plumbing to frame routing IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-create-opener-render-views
Patch Set: More cleanup Created 5 years, 5 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // The RFH will be initially placed on the swapped out hosts list. 78 // The RFH will be initially placed on the swapped out hosts list.
79 CREATE_RF_SWAPPED_OUT = 1 << 0, 79 CREATE_RF_SWAPPED_OUT = 1 << 0,
80 // The new RenderFrame is being created for a navigation of the 80 // The new RenderFrame is being created for a navigation of the
81 // top-level frame. 81 // top-level frame.
82 CREATE_RF_FOR_MAIN_FRAME_NAVIGATION = 1 << 1, 82 CREATE_RF_FOR_MAIN_FRAME_NAVIGATION = 1 << 1,
83 // The RenderFrame is initially hidden. 83 // The RenderFrame is initially hidden.
84 CREATE_RF_HIDDEN = 1 << 2, 84 CREATE_RF_HIDDEN = 1 << 2,
85 // The RenderFrameHost will have a new RenderWidgetHost created and 85 // The RenderFrameHost will have a new RenderWidgetHost created and
86 // attached to it. This is used when the RenderFrameHost is in a different 86 // attached to it. This is used when the RenderFrameHost is in a different
87 // process from its parent frame. 87 // process from its parent frame.
88 CREATE_RF_NEEDS_RENDER_WIDGET_HOST = 1 << 3 88 CREATE_RF_NEEDS_RENDER_WIDGET_HOST = 1 << 3,
89 // The RenderFrame will not have an opener frame assigned, even if the RFH's
nasko 2015/07/07 16:26:20 nit: I think dropping "RFH's" still preserves the
alexmos 2015/07/08 04:42:18 Done.
90 // FrameTreeNode currently has an opener node.
91 CREATE_RF_SUPPRESS_OPENER = 1 << 4
89 }; 92 };
90 93
91 class CONTENT_EXPORT RenderFrameHostImpl 94 class CONTENT_EXPORT RenderFrameHostImpl
92 : public RenderFrameHost, 95 : public RenderFrameHost,
93 public BrowserAccessibilityDelegate { 96 public BrowserAccessibilityDelegate {
94 public: 97 public:
95 typedef base::Callback<void(const ui::AXTreeUpdate&)> 98 typedef base::Callback<void(const ui::AXTreeUpdate&)>
96 AXTreeSnapshotCallback; 99 AXTreeSnapshotCallback;
97 100
98 // Keeps track of the state of the RenderFrameHostImpl, particularly with 101 // Keeps track of the state of the RenderFrameHostImpl, particularly with
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 740
738 // NOTE: This must be the last member. 741 // NOTE: This must be the last member.
739 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 742 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
740 743
741 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 744 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
742 }; 745 };
743 746
744 } // namespace content 747 } // namespace content
745 748
746 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 749 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698