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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Addressed comments @alexmos. 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 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 class RendererMediaPlayerManager; 151 class RendererMediaPlayerManager;
152 class RendererPpapiHost; 152 class RendererPpapiHost;
153 class RenderFrameObserver; 153 class RenderFrameObserver;
154 class RenderViewImpl; 154 class RenderViewImpl;
155 class RenderWidget; 155 class RenderWidget;
156 class RenderWidgetFullscreenPepper; 156 class RenderWidgetFullscreenPepper;
157 class ResourceRequestBodyImpl; 157 class ResourceRequestBodyImpl;
158 class ScreenOrientationDispatcher; 158 class ScreenOrientationDispatcher;
159 class SharedWorkerRepository; 159 class SharedWorkerRepository;
160 class UserMediaClientImpl; 160 class UserMediaClientImpl;
161 struct CSPViolationParams;
161 struct CommonNavigationParams; 162 struct CommonNavigationParams;
162 struct CustomContextMenuContext; 163 struct CustomContextMenuContext;
163 struct FileChooserFileInfo; 164 struct FileChooserFileInfo;
164 struct FileChooserParams; 165 struct FileChooserParams;
165 struct FrameOwnerProperties; 166 struct FrameOwnerProperties;
166 struct FrameReplicationState; 167 struct FrameReplicationState;
167 struct NavigationParams; 168 struct NavigationParams;
168 struct RequestNavigationParams; 169 struct RequestNavigationParams;
169 struct ResourceResponseHead; 170 struct ResourceResponseHead;
170 struct ScreenInfo; 171 struct ScreenInfo;
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 const FrameMsg_TextTrackSettings_Params& params); 890 const FrameMsg_TextTrackSettings_Params& params);
890 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 891 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
891 void OnCommitNavigation(const ResourceResponseHead& response, 892 void OnCommitNavigation(const ResourceResponseHead& response,
892 const GURL& stream_url, 893 const GURL& stream_url,
893 const CommonNavigationParams& common_params, 894 const CommonNavigationParams& common_params,
894 const RequestNavigationParams& request_params); 895 const RequestNavigationParams& request_params);
895 void OnFailedNavigation(const CommonNavigationParams& common_params, 896 void OnFailedNavigation(const CommonNavigationParams& common_params,
896 const RequestNavigationParams& request_params, 897 const RequestNavigationParams& request_params,
897 bool has_stale_copy_in_cache, 898 bool has_stale_copy_in_cache,
898 int error_code); 899 int error_code);
900 void OnReportContentSecurityPolicyViolation(
901 const content::CSPViolationParams& violation_params);
899 void OnGetSavableResourceLinks(); 902 void OnGetSavableResourceLinks();
900 void OnGetSerializedHtmlWithLocalLinks( 903 void OnGetSerializedHtmlWithLocalLinks(
901 const std::map<GURL, base::FilePath>& url_to_local_path, 904 const std::map<GURL, base::FilePath>& url_to_local_path,
902 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 905 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
903 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 906 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
904 void OnFind(int request_id, 907 void OnFind(int request_id,
905 const base::string16& search_text, 908 const base::string16& search_text,
906 const blink::WebFindOptions& options); 909 const blink::WebFindOptions& options);
907 void OnClearActiveFindMatch(); 910 void OnClearActiveFindMatch();
908 void OnStopFinding(StopFindAction action); 911 void OnStopFinding(StopFindAction action);
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 int enabled_bindings_ = 0; 1399 int enabled_bindings_ = 0;
1397 1400
1398 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1401 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1399 1402
1400 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1403 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1401 }; 1404 };
1402 1405
1403 } // namespace content 1406 } // namespace content
1404 1407
1405 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1408 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698