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

Unified Diff: content/common/frame.mojom

Issue 2566583002: Change allowed bindings to be per RenderFrame instead of per RenderView. (Closed)
Patch Set: rebase Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/common/frame.mojom
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
index f751a31a5dbc1c6a350d9f3c6c5a936444ae0630..affcff1f5cbb82374823444bcbd30a46388c8e84 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -15,6 +15,16 @@ interface Frame {
GetInterfaceProvider(service_manager.mojom.InterfaceProvider& interfaces);
};
+// Implemented by the frame (e.g. renderer processes).
+// Instances of this interface must be associated with (i.e., FIFO with) the
+// legacy IPC channel.
+interface FrameBindingsControl {
+ // Used to tell a render frame whether it should expose various bindings
+ // that allow JS content extended privileges. See BindingsPolicy for valid
+ // flag values.
+ AllowBindings(int32 enabled_bindings_flags);
+};
+
// Implemented by the frame server (i.e. the browser process).
interface FrameHost {
GetInterfaceProvider(service_manager.mojom.InterfaceProvider& interfaces);
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698