OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHSCREEN_TAP_SUPPRESSION_CONTROLL
ER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHSCREEN_TAP_SUPPRESSION_CONTROLL
ER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHSCREEN_TAP_SUPPRESSION_CONTROLL
ER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHSCREEN_TAP_SUPPRESSION_CONTROLL
ER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/renderer_host/event_with_latency_info.h" |
9 #include "content/browser/renderer_host/input/tap_suppression_controller.h" | 10 #include "content/browser/renderer_host/input/tap_suppression_controller.h" |
10 #include "content/browser/renderer_host/input/tap_suppression_controller_client.
h" | 11 #include "content/browser/renderer_host/input/tap_suppression_controller_client.
h" |
11 #include "content/port/browser/event_with_latency_info.h" | |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 class GestureEventQueue; | 15 class GestureEventQueue; |
16 | 16 |
17 // Controls the suppression of touchscreen taps immediately following the | 17 // Controls the suppression of touchscreen taps immediately following the |
18 // dispatch of a GestureFlingCancel event. | 18 // dispatch of a GestureFlingCancel event. |
19 class TouchscreenTapSuppressionController | 19 class TouchscreenTapSuppressionController |
20 : public TapSuppressionControllerClient { | 20 : public TapSuppressionControllerClient { |
21 public: | 21 public: |
(...skipping 26 matching lines...) Expand all Loading... |
48 | 48 |
49 // The core controller of tap suppression. | 49 // The core controller of tap suppression. |
50 TapSuppressionController controller_; | 50 TapSuppressionController controller_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(TouchscreenTapSuppressionController); | 52 DISALLOW_COPY_AND_ASSIGN(TouchscreenTapSuppressionController); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace content | 55 } // namespace content |
56 | 56 |
57 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHSCREEN_TAP_SUPPRESSION_CONTR
OLLER_H_ | 57 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHSCREEN_TAP_SUPPRESSION_CONTR
OLLER_H_ |
OLD | NEW |