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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PROXY_HOST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool is_render_frame_proxy_live() { return render_frame_proxy_created_; } 115 bool is_render_frame_proxy_live() { return render_frame_proxy_created_; }
116 116
117 private: 117 private:
118 // IPC Message handlers. 118 // IPC Message handlers.
119 void OnDetach(); 119 void OnDetach();
120 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 120 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
121 void OnRouteMessageEvent(const FrameMsg_PostMessage_Params& params); 121 void OnRouteMessageEvent(const FrameMsg_PostMessage_Params& params);
122 void OnDidChangeOpener(int32_t opener_routing_id); 122 void OnDidChangeOpener(int32_t opener_routing_id);
123 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 123 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
124 void OnFrameFocused(); 124 void OnFrameFocused();
125 void OnSetHasReceivedUserGesture();
126 125
127 // This RenderFrameProxyHost's routing id. 126 // This RenderFrameProxyHost's routing id.
128 int routing_id_; 127 int routing_id_;
129 128
130 // The SiteInstance this proxy is associated with. 129 // The SiteInstance this proxy is associated with.
131 scoped_refptr<SiteInstance> site_instance_; 130 scoped_refptr<SiteInstance> site_instance_;
132 131
133 // The renderer process this RenderFrameHostProxy is associated with. It is 132 // The renderer process this RenderFrameHostProxy is associated with. It is
134 // equivalent to the result of site_instance_->GetProcess(), but that 133 // equivalent to the result of site_instance_->GetProcess(), but that
135 // method has the side effect of creating the process if it doesn't exist. 134 // method has the side effect of creating the process if it doesn't exist.
(...skipping 16 matching lines...) Expand all
152 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts 151 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts
153 // are associated with it. 152 // are associated with it.
154 RenderViewHostImpl* render_view_host_; 153 RenderViewHostImpl* render_view_host_;
155 154
156 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); 155 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost);
157 }; 156 };
158 157
159 } // namespace 158 } // namespace
160 159
161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 160 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager.cc ('k') | content/browser/frame_host/render_frame_proxy_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698