| Index: public/web/WebWidgetClient.h
|
| diff --git a/public/web/WebWidgetClient.h b/public/web/WebWidgetClient.h
|
| index 653611b93ef1a9814eeaf4a621a6f7f81d445951..0e455838e12612206d0389ceafc15d7979bc3492 100644
|
| --- a/public/web/WebWidgetClient.h
|
| +++ b/public/web/WebWidgetClient.h
|
| @@ -36,6 +36,7 @@
|
| #include "public/platform/WebLayerTreeView.h"
|
| #include "public/platform/WebRect.h"
|
| #include "public/platform/WebScreenInfo.h"
|
| +#include "public/web/WebTouchAction.h"
|
|
|
| namespace blink {
|
|
|
| @@ -172,6 +173,10 @@ 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.
|
| + virtual void setTouchAction(WebTouchAction touchAction) { }
|
| +
|
| protected:
|
| ~WebWidgetClient() { }
|
| };
|
|
|