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

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: Nit. Created 3 years, 9 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 const gfx::Rect& bounds) const override; 207 const gfx::Rect& bounds) const override;
208 float AccessibilityGetDeviceScaleFactor() const override; 208 float AccessibilityGetDeviceScaleFactor() const override;
209 void AccessibilityFatalError() override; 209 void AccessibilityFatalError() override;
210 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 210 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
211 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 211 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
212 212
213 // SiteInstanceImpl::Observer 213 // SiteInstanceImpl::Observer
214 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 214 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
215 215
216 // CSPContext 216 // CSPContext
217 void LogToConsole(const std::string& message) override;
218 void ReportContentSecurityPolicyViolation( 217 void ReportContentSecurityPolicyViolation(
219 const CSPViolationParams& violation_params) override; 218 const CSPViolationParams& violation_params) override;
220 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; 219 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override;
221 220
222 // Creates a RenderFrame in the renderer process. 221 // Creates a RenderFrame in the renderer process.
223 bool CreateRenderFrame(int proxy_routing_id, 222 bool CreateRenderFrame(int proxy_routing_id,
224 int opener_routing_id, 223 int opener_routing_id,
225 int parent_routing_id, 224 int parent_routing_id,
226 int previous_sibling_routing_id); 225 int previous_sibling_routing_id);
227 226
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 1164
1166 // NOTE: This must be the last member. 1165 // NOTE: This must be the last member.
1167 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1166 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1168 1167
1169 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1168 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1170 }; 1169 };
1171 1170
1172 } // namespace content 1171 } // namespace content
1173 1172
1174 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1173 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698