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

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

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanitize report endpoints from IPC against actual CSP contents. Created 4 years, 4 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/content_common.gypi ('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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 class RendererSurfaceViewManager; 146 class RendererSurfaceViewManager;
147 class RenderFrameObserver; 147 class RenderFrameObserver;
148 class RenderViewImpl; 148 class RenderViewImpl;
149 class RenderWidget; 149 class RenderWidget;
150 class RenderWidgetFullscreenPepper; 150 class RenderWidgetFullscreenPepper;
151 class ResourceRequestBodyImpl; 151 class ResourceRequestBodyImpl;
152 class ScreenOrientationDispatcher; 152 class ScreenOrientationDispatcher;
153 class UserMediaClientImpl; 153 class UserMediaClientImpl;
154 class WakeLockDispatcher; 154 class WakeLockDispatcher;
155 struct CommonNavigationParams; 155 struct CommonNavigationParams;
156 struct ContentSecurityPolicyViolation;
156 struct CustomContextMenuContext; 157 struct CustomContextMenuContext;
157 struct FileChooserFileInfo; 158 struct FileChooserFileInfo;
158 struct FileChooserParams; 159 struct FileChooserParams;
159 struct FrameOwnerProperties; 160 struct FrameOwnerProperties;
160 struct FrameReplicationState; 161 struct FrameReplicationState;
161 struct NavigationParams; 162 struct NavigationParams;
162 struct RequestNavigationParams; 163 struct RequestNavigationParams;
163 struct ResourceResponseHead; 164 struct ResourceResponseHead;
164 struct StartNavigationParams; 165 struct StartNavigationParams;
165 struct StreamOverrideParameters; 166 struct StreamOverrideParameters;
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 841 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
841 void OnFind(int request_id, 842 void OnFind(int request_id,
842 const base::string16& search_text, 843 const base::string16& search_text,
843 const blink::WebFindOptions& options); 844 const blink::WebFindOptions& options);
844 void OnClearActiveFindMatch(); 845 void OnClearActiveFindMatch();
845 void OnStopFinding(StopFindAction action); 846 void OnStopFinding(StopFindAction action);
846 void OnEnableViewSourceMode(); 847 void OnEnableViewSourceMode();
847 void OnSuppressFurtherDialogs(); 848 void OnSuppressFurtherDialogs();
848 void OnFileChooserResponse( 849 void OnFileChooserResponse(
849 const std::vector<content::FileChooserFileInfo>& files); 850 const std::vector<content::FileChooserFileInfo>& files);
851 void OnReportContentSecurityPolicyViolation(
852 const ContentSecurityPolicyViolation& violation);
850 #if defined(OS_ANDROID) 853 #if defined(OS_ANDROID)
851 void OnActivateNearestFindResult(int request_id, float x, float y); 854 void OnActivateNearestFindResult(int request_id, float x, float y);
852 void OnGetNearestFindResult(int request_id, float x, float y); 855 void OnGetNearestFindResult(int request_id, float x, float y);
853 void OnFindMatchRects(int current_version); 856 void OnFindMatchRects(int current_version);
854 #endif 857 #endif
855 858
856 #if defined(USE_EXTERNAL_POPUP_MENU) 859 #if defined(USE_EXTERNAL_POPUP_MENU)
857 #if defined(OS_MACOSX) 860 #if defined(OS_MACOSX)
858 void OnSelectPopupMenuItem(int selected_index); 861 void OnSelectPopupMenuItem(int selected_index);
859 #else 862 #else
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 mojom::FrameHostPtr frame_host_; 1284 mojom::FrameHostPtr frame_host_;
1282 1285
1283 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1286 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1284 1287
1285 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1288 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1286 }; 1289 };
1287 1290
1288 } // namespace content 1291 } // namespace content
1289 1292
1290 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1293 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698