Chromium Code Reviews| Index: content/browser/renderer_host/render_view_host_delegate.h |
| diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
| index a5d1d095265d27bf224d3da24ba49034082fd2ed..ad4c41670cb8f914e08378f1685cef453a2cda34 100644 |
| --- a/content/browser/renderer_host/render_view_host_delegate.h |
| +++ b/content/browser/renderer_host/render_view_host_delegate.h |
| @@ -230,6 +230,14 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
| // Whether download UI should be hidden. |
| virtual bool HideDownloadUI() const; |
| + // Whether the focused element on the page is editable. This returns true iff |
| + // the focused frame has a focused editable element. |
| + virtual bool IsFocusedElementEditable(); |
| + |
| + // Asks the delegate to clear the focused element. This will lead to an IPC to |
| + // the focused RenderWidget. |
| + virtual void ClearFocusedElement(){}; |
|
ncarter (slow)
2016/12/16 19:17:21
space before {}
EhsanK
2016/12/20 16:39:10
Thanks! I think the ; thew git cl format off.
|
| + |
| protected: |
| virtual ~RenderViewHostDelegate() {} |
| }; |