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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 712723002: suppress link disambiguation popup when virtual keyboard requested (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linux build Created 6 years, 1 month 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698