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

Unified Diff: content/public/renderer/render_frame.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/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index b0211bf64e365cb7b4a7e9eab0bdfbc317ef89a3..7c7077abc34d984f3c358e35eca0880d96aac46f 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -244,6 +244,10 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// requests navigation until the browser responds with the result.
virtual bool IsBrowserSideNavigationPending() = 0;
+ // Bitwise-ORed set of extra bindings that have been enabled. See
+ // BindingsPolicy for details.
+ virtual int GetEnabledBindings() const = 0;
+
protected:
~RenderFrame() override {}

Powered by Google App Engine
This is Rietveld 408576698