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

Unified Diff: content/public/browser/render_widget_host_view.h

Issue 1986153005: The on screen keyboard on Windows 8+ should not obscure the input field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix more winclang build errors Created 4 years, 7 months 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
Index: content/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index b9022881a5fa6ab2eae49d2d766e45155539ac16..8b19bdb44a08348941e3a4cd134d2f70432a0d3e 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -19,6 +19,7 @@
class GURL;
namespace gfx {
+class Point;
class Rect;
class Size;
}
@@ -160,6 +161,14 @@ class CONTENT_EXPORT RenderWidgetHostView {
// deleted after this call.
virtual void EndFrameSubscription() = 0;
+ // Notification that a node was touched.
+ // The |location| parameter contains the location where the touch occurred
ncarter (slow) 2016/05/19 17:45:55 |location_dips|
ananta 2016/05/19 19:33:38 Done.
+ // in DIPs
+ // The |editable| parameter indicates if the node is editable, for e.g.
+ // an input field, etc.
+ virtual void FocusedNodeTouched(const gfx::Point& location_dips,
+ bool editable) = 0;
+
#if defined(OS_MACOSX)
// Return the accelerated widget which hosts the CALayers that draw the
// content of the view in GetNativeView. This may be null.

Powered by Google App Engine
This is Rietveld 408576698