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

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: Remove no longer applicable TODO and early exit from reportViolation method. 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
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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 838 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
838 void OnFind(int request_id, 839 void OnFind(int request_id,
839 const base::string16& search_text, 840 const base::string16& search_text,
840 const blink::WebFindOptions& options); 841 const blink::WebFindOptions& options);
841 void OnClearActiveFindMatch(); 842 void OnClearActiveFindMatch();
842 void OnStopFinding(StopFindAction action); 843 void OnStopFinding(StopFindAction action);
843 void OnEnableViewSourceMode(); 844 void OnEnableViewSourceMode();
844 void OnSuppressFurtherDialogs(); 845 void OnSuppressFurtherDialogs();
845 void OnFileChooserResponse( 846 void OnFileChooserResponse(
846 const std::vector<content::FileChooserFileInfo>& files); 847 const std::vector<content::FileChooserFileInfo>& files);
848 void OnReportContentSecurityPolicyViolation(
849 const ContentSecurityPolicyViolation& violation);
847 #if defined(OS_ANDROID) 850 #if defined(OS_ANDROID)
848 void OnActivateNearestFindResult(int request_id, float x, float y); 851 void OnActivateNearestFindResult(int request_id, float x, float y);
849 void OnGetNearestFindResult(int request_id, float x, float y); 852 void OnGetNearestFindResult(int request_id, float x, float y);
850 void OnFindMatchRects(int current_version); 853 void OnFindMatchRects(int current_version);
851 #endif 854 #endif
852 855
853 #if defined(USE_EXTERNAL_POPUP_MENU) 856 #if defined(USE_EXTERNAL_POPUP_MENU)
854 #if defined(OS_MACOSX) 857 #if defined(OS_MACOSX)
855 void OnSelectPopupMenuItem(int selected_index); 858 void OnSelectPopupMenuItem(int selected_index);
856 #else 859 #else
(...skipping 424 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

Powered by Google App Engine
This is Rietveld 408576698