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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Add TODO in the FrameLoader. 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 class RendererMediaPlayerManager; 148 class RendererMediaPlayerManager;
149 class RendererPpapiHost; 149 class RendererPpapiHost;
150 class RenderFrameObserver; 150 class RenderFrameObserver;
151 class RenderViewImpl; 151 class RenderViewImpl;
152 class RenderWidget; 152 class RenderWidget;
153 class RenderWidgetFullscreenPepper; 153 class RenderWidgetFullscreenPepper;
154 class ResourceRequestBodyImpl; 154 class ResourceRequestBodyImpl;
155 class ScreenOrientationDispatcher; 155 class ScreenOrientationDispatcher;
156 class SharedWorkerRepository; 156 class SharedWorkerRepository;
157 class UserMediaClientImpl; 157 class UserMediaClientImpl;
158 struct CSPViolationParams;
158 struct CommonNavigationParams; 159 struct CommonNavigationParams;
159 struct CustomContextMenuContext; 160 struct CustomContextMenuContext;
160 struct FileChooserFileInfo; 161 struct FileChooserFileInfo;
161 struct FileChooserParams; 162 struct FileChooserParams;
162 struct FrameOwnerProperties; 163 struct FrameOwnerProperties;
163 struct FrameReplicationState; 164 struct FrameReplicationState;
164 struct NavigationParams; 165 struct NavigationParams;
165 struct RequestNavigationParams; 166 struct RequestNavigationParams;
166 struct ResourceResponseHead; 167 struct ResourceResponseHead;
167 struct ScreenInfo; 168 struct ScreenInfo;
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 const FrameMsg_TextTrackSettings_Params& params); 887 const FrameMsg_TextTrackSettings_Params& params);
887 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 888 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
888 void OnCommitNavigation(const ResourceResponseHead& response, 889 void OnCommitNavigation(const ResourceResponseHead& response,
889 const GURL& stream_url, 890 const GURL& stream_url,
890 const CommonNavigationParams& common_params, 891 const CommonNavigationParams& common_params,
891 const RequestNavigationParams& request_params); 892 const RequestNavigationParams& request_params);
892 void OnFailedNavigation(const CommonNavigationParams& common_params, 893 void OnFailedNavigation(const CommonNavigationParams& common_params,
893 const RequestNavigationParams& request_params, 894 const RequestNavigationParams& request_params,
894 bool has_stale_copy_in_cache, 895 bool has_stale_copy_in_cache,
895 int error_code); 896 int error_code);
897 void OnContentSecurityPolicyViolation(
898 const content::CSPViolationParams& violation_params);
896 void OnGetSavableResourceLinks(); 899 void OnGetSavableResourceLinks();
897 void OnGetSerializedHtmlWithLocalLinks( 900 void OnGetSerializedHtmlWithLocalLinks(
898 const std::map<GURL, base::FilePath>& url_to_local_path, 901 const std::map<GURL, base::FilePath>& url_to_local_path,
899 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 902 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
900 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 903 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
901 void OnFind(int request_id, 904 void OnFind(int request_id,
902 const base::string16& search_text, 905 const base::string16& search_text,
903 const blink::WebFindOptions& options); 906 const blink::WebFindOptions& options);
904 void OnClearActiveFindMatch(); 907 void OnClearActiveFindMatch();
905 void OnStopFinding(StopFindAction action); 908 void OnStopFinding(StopFindAction action);
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 int enabled_bindings_ = 0; 1388 int enabled_bindings_ = 0;
1386 1389
1387 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1390 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1388 1391
1389 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1392 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1390 }; 1393 };
1391 1394
1392 } // namespace content 1395 } // namespace content
1393 1396
1394 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1397 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698