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

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

Issue 2612793002: Implement ContentSecurityPolicy on the browser-side. (Closed)
Patch Set: Add the TODO and bug ids that was forgotten. Created 3 years, 10 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 #include "content/renderer/render_frame_proxy.h" 5 #include "content/renderer/render_frame_proxy.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "content/child/feature_policy/feature_policy_platform.h" 13 #include "content/child/feature_policy/feature_policy_platform.h"
14 #include "content/child/web_url_request_util.h" 14 #include "content/child/web_url_request_util.h"
15 #include "content/child/webmessageportchannel_impl.h" 15 #include "content/child/webmessageportchannel_impl.h"
16 #include "content/common/content_security_policy_header.h"
17 #include "content/common/content_switches_internal.h" 16 #include "content/common/content_switches_internal.h"
18 #include "content/common/frame_messages.h" 17 #include "content/common/frame_messages.h"
19 #include "content/common/frame_owner_properties.h" 18 #include "content/common/frame_owner_properties.h"
20 #include "content/common/frame_replication_state.h" 19 #include "content/common/frame_replication_state.h"
21 #include "content/common/input_messages.h" 20 #include "content/common/input_messages.h"
22 #include "content/common/page_messages.h" 21 #include "content/common/page_messages.h"
23 #include "content/common/site_isolation_policy.h" 22 #include "content/common/site_isolation_policy.h"
24 #include "content/common/swapped_out_messages.h" 23 #include "content/common/swapped_out_messages.h"
25 #include "content/common/view_messages.h" 24 #include "content/common/view_messages.h"
26 #include "content/renderer/child_frame_compositing_helper.h" 25 #include "content/renderer/child_frame_compositing_helper.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 blink::WebLocalFrame* source) { 526 blink::WebLocalFrame* source) {
528 int source_routing_id = RenderFrameImpl::FromWebFrame(source)->GetRoutingID(); 527 int source_routing_id = RenderFrameImpl::FromWebFrame(source)->GetRoutingID();
529 Send(new FrameHostMsg_AdvanceFocus(routing_id_, type, source_routing_id)); 528 Send(new FrameHostMsg_AdvanceFocus(routing_id_, type, source_routing_id));
530 } 529 }
531 530
532 void RenderFrameProxy::frameFocused() { 531 void RenderFrameProxy::frameFocused() {
533 Send(new FrameHostMsg_FrameFocused(routing_id_)); 532 Send(new FrameHostMsg_FrameFocused(routing_id_));
534 } 533 }
535 534
536 } // namespace 535 } // namespace
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/shared_worker/embedded_shared_worker_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698