Chromium Code Reviews| Index: public/web/WebWidgetClient.h |
| diff --git a/public/web/WebWidgetClient.h b/public/web/WebWidgetClient.h |
| index ad7069908713d9cd9fe5c74b662cc90a4bbda46f..f8cd43be4868a22f42814d46eeb2f9d266eda599 100644 |
| --- a/public/web/WebWidgetClient.h |
| +++ b/public/web/WebWidgetClient.h |
| @@ -172,6 +172,14 @@ public: |
| // Called to update if touch events should be sent. |
| virtual void hasTouchEventHandlers(bool) { } |
| + // Called during WebWidget::HandleInputEvent for a TouchStart event to inform the embedder |
| + // of the touch actions that are permitted for this touch. |
| + enum TouchAction { |
| + TouchActionNone = 0, |
| + TouchActionAuto = 1 |
| + }; |
| + virtual void setTouchAction(int touchId, TouchAction touchAction) { } |
|
abarth-chromium
2013/11/18 21:16:59
Why a touchId? Is there some sort of more structu
Rick Byers
2013/11/19 21:24:21
The touchid is the minimal data the embedder needs
|
| + |
| protected: |
| ~WebWidgetClient() { } |
| }; |