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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2761153003: PlzNavigate & CSP. Use the SourceLocation in violation reports. (Closed)
Patch Set: Addressed comment @alexmos Created 3 years, 8 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 const gfx::Rect& bounds) const override; 209 const gfx::Rect& bounds) const override;
210 float AccessibilityGetDeviceScaleFactor() const override; 210 float AccessibilityGetDeviceScaleFactor() const override;
211 void AccessibilityFatalError() override; 211 void AccessibilityFatalError() override;
212 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 212 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
213 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 213 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
214 214
215 // SiteInstanceImpl::Observer 215 // SiteInstanceImpl::Observer
216 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 216 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
217 217
218 // CSPContext 218 // CSPContext
219 void LogToConsole(const std::string& message) override;
220 void ReportContentSecurityPolicyViolation( 219 void ReportContentSecurityPolicyViolation(
221 const CSPViolationParams& violation_params) override; 220 const CSPViolationParams& violation_params) override;
222 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; 221 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override;
223 222
224 // Creates a RenderFrame in the renderer process. 223 // Creates a RenderFrame in the renderer process.
225 bool CreateRenderFrame(int proxy_routing_id, 224 bool CreateRenderFrame(int proxy_routing_id,
226 int opener_routing_id, 225 int opener_routing_id,
227 int parent_routing_id, 226 int parent_routing_id,
228 int previous_sibling_routing_id); 227 int previous_sibling_routing_id);
229 228
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 1177
1179 // NOTE: This must be the last member. 1178 // NOTE: This must be the last member.
1180 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1179 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1181 1180
1182 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1181 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1183 }; 1182 };
1184 1183
1185 } // namespace content 1184 } // namespace content
1186 1185
1187 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1186 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/form_submission_throttle.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698