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 b7074f5704b6067e2407321ea869e7812164e635..47b5986ce3f53d963d502bdcfd023abe34ee578a 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -280,6 +280,13 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
// created by the RenderViewHost. |
virtual FrameTree* GetFrameTree(); |
+ // Optional state storage for if the Virtual Keyboard has been requested by |
+ // this page or not. If it has, this can be used to suppress things like the |
+ // link disambiguation dialog, which doesn't interact well with the virtual |
+ // keyboard. |
+ virtual void SetIsVirtualKeyboardRequested(bool requested) {} |
+ virtual bool IsVirtualKeyboardRequested(); |
+ |
protected: |
virtual ~RenderViewHostDelegate() {} |
}; |