| Index: content/browser/renderer_host/touchpad_tap_suppression_controller.h
|
| diff --git a/content/browser/renderer_host/touchpad_tap_suppression_controller.h b/content/browser/renderer_host/touchpad_tap_suppression_controller.h
|
| index 874bc8f009747a6cef12a790f1a3483f274ce8dd..0c97e2e5838e934cd23418361bf5de1c960186e7 100644
|
| --- a/content/browser/renderer_host/touchpad_tap_suppression_controller.h
|
| +++ b/content/browser/renderer_host/touchpad_tap_suppression_controller.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "cc/debug/latency_info.h"
|
| #include "content/browser/renderer_host/tap_suppression_controller_client.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
|
|
|
| @@ -31,7 +32,8 @@ class TouchpadTapSuppressionController : public TapSuppressionControllerClient {
|
| // Should be called on arrival of MouseDown events. Returns true if the caller
|
| // should stop normal handling of the MouseDown. In this case, the caller is
|
| // responsible for saving the event for later use, if needed.
|
| - bool ShouldDeferMouseDown(const WebKit::WebMouseEvent& event);
|
| + bool ShouldDeferMouseDown(const WebKit::WebMouseEvent& event,
|
| + const cc::LatencyInfo& latency_info);
|
|
|
| // Should be called on arrival of MouseUp events. Returns true if the caller
|
| // should stop normal handling of the MouseUp.
|
| @@ -49,6 +51,7 @@ class TouchpadTapSuppressionController : public TapSuppressionControllerClient {
|
|
|
| RenderWidgetHostImpl* render_widget_host_;
|
| WebKit::WebMouseEvent stashed_mouse_down_;
|
| + cc::LatencyInfo stashed_latency_info_;
|
|
|
| // The core controller of tap suppression.
|
| scoped_ptr<TapSuppressionController> controller_;
|
|
|