Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 424dbc69da07f2fcbd220bc703d93c22837cd8cd..bda95631a000917907a1132ed796875752f16d17 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -170,6 +170,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
const TextSurroundingSelectionCallback& callback, |
int max_length) override; |
void RequestFocusedFormFieldData(FormFieldDataCallback& callback) override; |
+ void AllowBindings(int binding_flags) override; |
+ int GetEnabledBindings() const override; |
// mojom::FrameHost |
void GetInterfaceProvider( |
@@ -306,11 +308,6 @@ class CONTENT_EXPORT RenderFrameHostImpl |
render_frame_proxy_host_ = proxy; |
} |
- // Returns a bitwise OR of bindings types that have been enabled for this |
- // RenderFrameHostImpl's RenderView. See BindingsPolicy for details. |
- // TODO(creis): Make bindings frame-specific, to support cases like <webview>. |
- int GetEnabledBindings(); |
- |
// The unique ID of the latest NavigationEntry that this RenderFrameHost is |
// showing. This may change even when this frame hasn't committed a page, |
// such as for a new subframe navigation in a different frame. |
@@ -1088,6 +1085,11 @@ class CONTENT_EXPORT RenderFrameHostImpl |
std::unique_ptr<AssociatedInterfaceProviderImpl> |
remote_associated_interfaces_; |
+ |
+ // A bitwise OR of bindings types that have been enabled for this RenderFrame. |
+ // See BindingsPolicy for details. |
+ int enabled_bindings_ = 0; |
+ |
// NOTE: This must be the last member. |
base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |