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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « content/renderer/content_security_policy_util.cc ('k') | content/renderer/render_frame_impl.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 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 class RendererMediaPlayerManager; 152 class RendererMediaPlayerManager;
153 class RendererPpapiHost; 153 class RendererPpapiHost;
154 class RenderFrameObserver; 154 class RenderFrameObserver;
155 class RenderViewImpl; 155 class RenderViewImpl;
156 class RenderWidget; 156 class RenderWidget;
157 class RenderWidgetFullscreenPepper; 157 class RenderWidgetFullscreenPepper;
158 class ResourceRequestBodyImpl; 158 class ResourceRequestBodyImpl;
159 class ScreenOrientationDispatcher; 159 class ScreenOrientationDispatcher;
160 class SharedWorkerRepository; 160 class SharedWorkerRepository;
161 class UserMediaClientImpl; 161 class UserMediaClientImpl;
162 struct CSPViolationParams;
162 struct CommonNavigationParams; 163 struct CommonNavigationParams;
163 struct CustomContextMenuContext; 164 struct CustomContextMenuContext;
164 struct FileChooserFileInfo; 165 struct FileChooserFileInfo;
165 struct FileChooserParams; 166 struct FileChooserParams;
166 struct FrameOwnerProperties; 167 struct FrameOwnerProperties;
167 struct FrameReplicationState; 168 struct FrameReplicationState;
168 struct NavigationParams; 169 struct NavigationParams;
169 struct RequestNavigationParams; 170 struct RequestNavigationParams;
170 struct ResourceResponseHead; 171 struct ResourceResponseHead;
171 struct ScreenInfo; 172 struct ScreenInfo;
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 const FrameMsg_TextTrackSettings_Params& params); 892 const FrameMsg_TextTrackSettings_Params& params);
892 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 893 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
893 void OnCommitNavigation(const ResourceResponseHead& response, 894 void OnCommitNavigation(const ResourceResponseHead& response,
894 const GURL& stream_url, 895 const GURL& stream_url,
895 const CommonNavigationParams& common_params, 896 const CommonNavigationParams& common_params,
896 const RequestNavigationParams& request_params); 897 const RequestNavigationParams& request_params);
897 void OnFailedNavigation(const CommonNavigationParams& common_params, 898 void OnFailedNavigation(const CommonNavigationParams& common_params,
898 const RequestNavigationParams& request_params, 899 const RequestNavigationParams& request_params,
899 bool has_stale_copy_in_cache, 900 bool has_stale_copy_in_cache,
900 int error_code); 901 int error_code);
902 void OnReportContentSecurityPolicyViolation(
903 const content::CSPViolationParams& violation_params);
901 void OnGetSavableResourceLinks(); 904 void OnGetSavableResourceLinks();
902 void OnGetSerializedHtmlWithLocalLinks( 905 void OnGetSerializedHtmlWithLocalLinks(
903 const std::map<GURL, base::FilePath>& url_to_local_path, 906 const std::map<GURL, base::FilePath>& url_to_local_path,
904 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 907 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
905 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 908 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
906 void OnFind(int request_id, 909 void OnFind(int request_id,
907 const base::string16& search_text, 910 const base::string16& search_text,
908 const blink::WebFindOptions& options); 911 const blink::WebFindOptions& options);
909 void OnClearActiveFindMatch(); 912 void OnClearActiveFindMatch();
910 void OnStopFinding(StopFindAction action); 913 void OnStopFinding(StopFindAction action);
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1430 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1428 1431
1429 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1432 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1430 1433
1431 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1434 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1432 }; 1435 };
1433 1436
1434 } // namespace content 1437 } // namespace content
1435 1438
1436 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1439 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/content_security_policy_util.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698