Chromium Code Reviews| Index: public/web/WebWidgetClient.h |
| diff --git a/public/web/WebWidgetClient.h b/public/web/WebWidgetClient.h |
| index 0d840ef291eefe2dd35316a7e2879c4cf70956d8..3affa4a6a49bf5899d9e2aaaac96bd14f2c071b8 100644 |
| --- a/public/web/WebWidgetClient.h |
| +++ b/public/web/WebWidgetClient.h |
| @@ -165,6 +165,9 @@ public: |
| // something as a result of a tap without explicitly consuming the event. |
| virtual void showUnhandledTapUIIfNeeded(const WebPoint& tappedPosition, |
| const WebNode& tappedNode, bool pageChanged) { } |
| + |
| + // Called when there is mouse press or gesture tap event. |
| + virtual void onClickInput(const WebNode& clickedNode) { } |
|
Rick Byers
2015/06/18 17:02:10
You've implemented this to be at mousedown time (a
Yufeng Shen (Slow to review)
2015/06/18 18:29:04
Done.
|
| protected: |
| ~WebWidgetClient() { } |
| }; |