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

Unified Diff: content/renderer/render_widget.h

Issue 67383002: Initial browser-side implementation for touch-action (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 85e7eb9ca754af3f5ebd87cc499218508ab085d8..4b1c53b959fbd13b0ac03559319e4f0d54a972f8 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -545,6 +545,10 @@ class CONTENT_EXPORT RenderWidget
// Check whether the WebWidget has any touch event handlers registered.
virtual void hasTouchEventHandlers(bool has_handlers);
+ // Tell the browser about the actions permitted for a new touch point.
+ virtual void setTouchAction(int touchId, bool touchActionDelayed,
+ TouchAction touchAction);
+
// Creates a 3D context associated with this view.
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes& attributes);

Powered by Google App Engine
This is Rietveld 408576698