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); |