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

Unified Diff: content/common/frame.mojom

Issue 2566583002: Change allowed bindings to be per RenderFrame instead of per RenderView. (Closed)
Patch Set: Created 4 years 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..f2fa8a2a0a9cfd0f325a2e97c5b08dcd94b6a080 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -13,6 +13,11 @@ const string kNavigation_FrameSpec = "navigation:frame";
// Implemented by the frame provider (e.g. renderer processes).
interface Frame {
GetInterfaceProvider(service_manager.mojom.InterfaceProvider& interfaces);
+
+ // Used to tell a render view whether it should expose various bindings
Charlie Reis 2016/12/16 01:01:52 s/view/frame/?
Sam McNally 2017/01/12 09:27:08 Done.
+ // 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).

Powered by Google App Engine
This is Rietveld 408576698