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

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 2738953002: Rename WebParsedFeaturePolicyHeader to WebParsedFeaturePolicy (Closed)
Patch Set: ParsedFeaturePolicyHeader => ParsedFeaturePolicy (content version) Created 3 years, 9 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 #include "content/renderer/render_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 3182 matching lines...) Expand 10 before | Expand all | Expand 10 after
3193 routing_id_, is_potentially_trustworthy_unique_origin)); 3193 routing_id_, is_potentially_trustworthy_unique_origin));
3194 } 3194 }
3195 3195
3196 void RenderFrameImpl::didChangeSandboxFlags(blink::WebFrame* child_frame, 3196 void RenderFrameImpl::didChangeSandboxFlags(blink::WebFrame* child_frame,
3197 blink::WebSandboxFlags flags) { 3197 blink::WebSandboxFlags flags) {
3198 Send(new FrameHostMsg_DidChangeSandboxFlags( 3198 Send(new FrameHostMsg_DidChangeSandboxFlags(
3199 routing_id_, GetRoutingIdForFrameOrProxy(child_frame), flags)); 3199 routing_id_, GetRoutingIdForFrameOrProxy(child_frame), flags));
3200 } 3200 }
3201 3201
3202 void RenderFrameImpl::didSetFeaturePolicyHeader( 3202 void RenderFrameImpl::didSetFeaturePolicyHeader(
3203 const blink::WebParsedFeaturePolicyHeader& parsed_header) { 3203 const blink::WebParsedFeaturePolicy& parsed_header) {
3204 Send(new FrameHostMsg_DidSetFeaturePolicyHeader( 3204 Send(new FrameHostMsg_DidSetFeaturePolicyHeader(
3205 routing_id_, FeaturePolicyHeaderFromWeb(parsed_header))); 3205 routing_id_, FeaturePolicyHeaderFromWeb(parsed_header)));
3206 } 3206 }
3207 3207
3208 void RenderFrameImpl::didAddContentSecurityPolicy( 3208 void RenderFrameImpl::didAddContentSecurityPolicy(
3209 const blink::WebString& header_value, 3209 const blink::WebString& header_value,
3210 blink::WebContentSecurityPolicyType type, 3210 blink::WebContentSecurityPolicyType type,
3211 blink::WebContentSecurityPolicySource source, 3211 blink::WebContentSecurityPolicySource source,
3212 const std::vector<blink::WebContentSecurityPolicyPolicy>& policies) { 3212 const std::vector<blink::WebContentSecurityPolicyPolicy>& policies) {
3213 ContentSecurityPolicyHeader header; 3213 ContentSecurityPolicyHeader header;
(...skipping 3642 matching lines...) Expand 10 before | Expand all | Expand 10 after
6856 // event target. Potentially a Pepper plugin will receive the event. 6856 // event target. Potentially a Pepper plugin will receive the event.
6857 // In order to tell whether a plugin gets the last mouse event and which it 6857 // In order to tell whether a plugin gets the last mouse event and which it
6858 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets 6858 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets
6859 // the event, it will notify us via DidReceiveMouseEvent() and set itself as 6859 // the event, it will notify us via DidReceiveMouseEvent() and set itself as
6860 // |pepper_last_mouse_event_target_|. 6860 // |pepper_last_mouse_event_target_|.
6861 pepper_last_mouse_event_target_ = nullptr; 6861 pepper_last_mouse_event_target_ = nullptr;
6862 #endif 6862 #endif
6863 } 6863 }
6864 6864
6865 } // namespace content 6865 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | third_party/WebKit/Source/core/dom/SecurityContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698