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

Unified Diff: content/public/browser/render_view_host.h

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/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index 5976eec106ca7895723239f52edef8a0e3b596e5..ec82695044c94643157eec8e59d836eec8235279 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -86,10 +86,6 @@ class CONTENT_EXPORT RenderViewHost : public IPC::Sender {
// Returns the main frame for this render view.
virtual RenderFrameHost* GetMainFrame() = 0;
- // Tell the render view to enable a set of javascript bindings. The argument
- // should be a combination of values from BindingsPolicy.
- virtual void AllowBindings(int binding_flags) = 0;
-
// Tells the renderer to clear the focused element (if any).
virtual void ClearFocusedElement() = 0;
@@ -129,10 +125,6 @@ class CONTENT_EXPORT RenderViewHost : public IPC::Sender {
virtual RenderViewHostDelegate* GetDelegate() const = 0;
- // Returns a bitwise OR of bindings types that have been enabled for this
- // RenderView. See BindingsPolicy for details.
- virtual int GetEnabledBindings() const = 0;
-
virtual SiteInstance* GetSiteInstance() const = 0;
// Returns true if the RenderView is active and has not crashed.

Powered by Google App Engine
This is Rietveld 408576698