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

Side by Side Diff: content/renderer/render_frame_proxy.h

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nasko comments Created 5 years 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_FRAME_PROXY_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 void OnCompositorFrameSwapped(const IPC::Message& message); 153 void OnCompositorFrameSwapped(const IPC::Message& message);
154 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, 154 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id,
155 const gfx::Size& frame_size, 155 const gfx::Size& frame_size,
156 float scale_factor, 156 float scale_factor,
157 const cc::SurfaceSequence& sequence); 157 const cc::SurfaceSequence& sequence);
158 void OnUpdateOpener(int opener_routing_id); 158 void OnUpdateOpener(int opener_routing_id);
159 void OnDidStopLoading(); 159 void OnDidStopLoading();
160 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 160 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
161 void OnDispatchLoad(); 161 void OnDispatchLoad();
162 void OnDidUpdateName(const std::string& name); 162 void OnDidUpdateName(const std::string& name);
163 void OnEnforceStrictMixedContentChecking(bool should_enforce);
163 void OnDidUpdateOrigin(const url::Origin& origin); 164 void OnDidUpdateOrigin(const url::Origin& origin);
164 void OnSetPageFocus(bool is_focused); 165 void OnSetPageFocus(bool is_focused);
165 void OnSetFocusedFrame(); 166 void OnSetFocusedFrame();
166 167
167 // The routing ID by which this RenderFrameProxy is known. 168 // The routing ID by which this RenderFrameProxy is known.
168 const int routing_id_; 169 const int routing_id_;
169 170
170 // The routing ID of the local RenderFrame (if any) which this 171 // The routing ID of the local RenderFrame (if any) which this
171 // RenderFrameProxy is meant to replace in the frame tree. 172 // RenderFrameProxy is meant to replace in the frame tree.
172 const int frame_routing_id_; 173 const int frame_routing_id_;
173 174
174 // Stores the WebRemoteFrame we are associated with. 175 // Stores the WebRemoteFrame we are associated with.
175 blink::WebRemoteFrame* web_frame_; 176 blink::WebRemoteFrame* web_frame_;
176 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; 177 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_;
177 178
178 RenderViewImpl* render_view_; 179 RenderViewImpl* render_view_;
179 180
180 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 181 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
181 }; 182 };
182 183
183 } // namespace 184 } // namespace
184 185
185 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 186 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698