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

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: 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
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 04841375933cc853d3f58ca4826e365d274f3e21..96012bdb767e7cd3000bbe3b8a81d27d65e8a20b 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;
-
// Notifies the listener that a directory enumeration is complete.
virtual void DirectoryEnumerationFinished(
int request_id,
@@ -123,10 +119,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.
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698