Chromium Code Reviews| Index: content/public/browser/render_frame_host.h |
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
| index 9c568d0c5795097f2557046ac362bc80a1b142ba..af79f63ca32b8310cec3f5a7ce45d507a61e2994 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -222,6 +222,14 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| // Retrieves the text input info associated with the current form field. |
| virtual void RequestFocusedFormFieldData(FormFieldDataCallback& callback) = 0; |
| + // Tell the render view to enable a set of javascript bindings. The argument |
|
Charlie Reis
2016/12/16 01:01:52
s/view/frame/
Sam McNally
2017/01/12 09:27:08
Done.
|
| + // should be a combination of values from BindingsPolicy. |
| + virtual void AllowBindings(int binding_flags) = 0; |
| + |
| + // Returns a bitwise OR of bindings types that have been enabled for this |
| + // RenderView. See BindingsPolicy for details. |
|
Charlie Reis
2016/12/16 01:01:52
RenderFrame
Sam McNally
2017/01/12 09:27:08
Done.
|
| + virtual int GetEnabledBindings() const = 0; |
| + |
| private: |
| // This interface should only be implemented inside content. |
| friend class RenderFrameHostImpl; |