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

Unified Diff: content/common/frame.mojom

Issue 2566583002: Change allowed bindings to be per RenderFrame instead of per RenderView. (Closed)
Patch Set: 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..408cc55b3b27a96d51d62bb3cf26d1b27c9dc485 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -25,3 +25,10 @@ interface FrameHost {
interface FrameFactory {
CreateFrame(int32 frame_routing_id, Frame& frame, FrameHost host);
};
+
+interface FrameBindingsControl {
dcheng 2017/01/20 08:29:27 Nit: it might be nice to group the browser and ren
Sam McNally 2017/01/23 03:20:28 Done.
+ // 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);
+};
« 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