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

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, 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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 const FrameMsg_TextTrackSettings_Params& params); 891 const FrameMsg_TextTrackSettings_Params& params);
891 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 892 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
892 void OnCommitNavigation(const ResourceResponseHead& response, 893 void OnCommitNavigation(const ResourceResponseHead& response,
893 const GURL& stream_url, 894 const GURL& stream_url,
894 const CommonNavigationParams& common_params, 895 const CommonNavigationParams& common_params,
895 const RequestNavigationParams& request_params); 896 const RequestNavigationParams& request_params);
896 void OnFailedNavigation(const CommonNavigationParams& common_params, 897 void OnFailedNavigation(const CommonNavigationParams& common_params,
897 const RequestNavigationParams& request_params, 898 const RequestNavigationParams& request_params,
898 bool has_stale_copy_in_cache, 899 bool has_stale_copy_in_cache,
899 int error_code); 900 int error_code);
901 void OnReportContentSecurityPolicyViolation(
902 const content::CSPViolationParams& violation_params);
900 void OnGetSavableResourceLinks(); 903 void OnGetSavableResourceLinks();
901 void OnGetSerializedHtmlWithLocalLinks( 904 void OnGetSerializedHtmlWithLocalLinks(
902 const std::map<GURL, base::FilePath>& url_to_local_path, 905 const std::map<GURL, base::FilePath>& url_to_local_path,
903 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 906 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
904 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 907 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
905 void OnFind(int request_id, 908 void OnFind(int request_id,
906 const base::string16& search_text, 909 const base::string16& search_text,
907 const blink::WebFindOptions& options); 910 const blink::WebFindOptions& options);
908 void OnClearActiveFindMatch(); 911 void OnClearActiveFindMatch();
909 void OnStopFinding(StopFindAction action); 912 void OnStopFinding(StopFindAction action);
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 int enabled_bindings_ = 0; 1400 int enabled_bindings_ = 0;
1398 1401
1399 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1402 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1400 1403
1401 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1404 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1402 }; 1405 };
1403 1406
1404 } // namespace content 1407 } // namespace content
1405 1408
1406 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1409 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698