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

Unified Diff: content/browser/renderer_host/render_view_host_impl.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
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index cb30e864bf61ac3463beb0f1a2dbb4eeb4410d18..9a167fcb2eae662409a95fcaa55d331207bbe158 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -85,7 +85,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
RenderProcessHost* GetProcess() const override;
int GetRoutingID() const override;
RenderFrameHost* GetMainFrame() override;
- void AllowBindings(int binding_flags) override;
void DirectoryEnumerationFinished(
int request_id,
const std::vector<base::FilePath>& files) override;
@@ -101,7 +100,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
const gfx::Point& location,
const blink::WebPluginAction& action) override;
RenderViewHostDelegate* GetDelegate() const override;
- int GetEnabledBindings() const override;
SiteInstanceImpl* GetSiteInstance() const override;
bool IsRenderViewLive() const override;
void NotifyMoveOrResizeStarted() override;
@@ -284,10 +282,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// over time.
scoped_refptr<SiteInstanceImpl> instance_;
- // A bitwise OR of bindings types that have been enabled for this RenderView.
- // See BindingsPolicy for details.
- int enabled_bindings_;
-
// Tracks whether this RenderViewHost is in an active state. False if the
// main frame is pending swap out, pending deletion, or swapped out, because
// it is not visible to the user in any of these cases.

Powered by Google App Engine
This is Rietveld 408576698