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

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

Issue 2791063002: Add Feature Policy interface to RenderFrameHost (Closed)
Patch Set: Guard against possible null pointer deref 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_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_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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool HasSelection() override; 181 bool HasSelection() override;
182 void RequestTextSurroundingSelection( 182 void RequestTextSurroundingSelection(
183 const TextSurroundingSelectionCallback& callback, 183 const TextSurroundingSelectionCallback& callback,
184 int max_length) override; 184 int max_length) override;
185 void AllowBindings(int binding_flags) override; 185 void AllowBindings(int binding_flags) override;
186 int GetEnabledBindings() const override; 186 int GetEnabledBindings() const override;
187 void BlockRequestsForFrame() override; 187 void BlockRequestsForFrame() override;
188 void ResumeBlockedRequestsForFrame() override; 188 void ResumeBlockedRequestsForFrame() override;
189 void DisableBeforeUnloadHangMonitorForTesting() override; 189 void DisableBeforeUnloadHangMonitorForTesting() override;
190 bool IsBeforeUnloadHangMonitorDisabledForTesting() override; 190 bool IsBeforeUnloadHangMonitorDisabledForTesting() override;
191 bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) override;
191 192
192 // mojom::FrameHost 193 // mojom::FrameHost
193 void GetInterfaceProvider( 194 void GetInterfaceProvider(
194 service_manager::mojom::InterfaceProviderRequest interfaces) override; 195 service_manager::mojom::InterfaceProviderRequest interfaces) override;
195 196
196 // IPC::Sender 197 // IPC::Sender
197 bool Send(IPC::Message* msg) override; 198 bool Send(IPC::Message* msg) override;
198 199
199 // IPC::Listener 200 // IPC::Listener
200 bool OnMessageReceived(const IPC::Message& msg) override; 201 bool OnMessageReceived(const IPC::Message& msg) override;
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 1175
1175 // NOTE: This must be the last member. 1176 // NOTE: This must be the last member.
1176 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1177 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1177 1178
1178 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1179 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1179 }; 1180 };
1180 1181
1181 } // namespace content 1182 } // namespace content
1182 1183
1183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698