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_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_
H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_
H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_
H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_
H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/browser/renderer_host/event_with_latency_info.h" | 9 #include "content/browser/renderer_host/event_with_latency_info.h" |
10 #include "content/browser/renderer_host/input/tap_suppression_controller.h" | 10 #include "content/browser/renderer_host/input/tap_suppression_controller.h" |
11 #include "content/browser/renderer_host/input/tap_suppression_controller_client.
h" | 11 #include "content/browser/renderer_host/input/tap_suppression_controller_client.
h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "third_party/WebKit/public/web/WebInputEvent.h" | 13 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class TapSuppressionController; | 17 class TapSuppressionController; |
18 | 18 |
19 class CONTENT_EXPORT TouchpadTapSuppressionControllerClient { | 19 class CONTENT_EXPORT TouchpadTapSuppressionControllerClient { |
20 public: | 20 public: |
21 virtual ~TouchpadTapSuppressionControllerClient() {} | 21 virtual ~TouchpadTapSuppressionControllerClient() {} |
22 virtual void SendMouseEventImmediately( | 22 virtual void SendMouseEventImmediately( |
23 const MouseEventWithLatencyInfo& event) = 0; | 23 const MouseEventWithLatencyInfo& event) = 0; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // The core controller of tap suppression. | 62 // The core controller of tap suppression. |
63 TapSuppressionController controller_; | 63 TapSuppressionController controller_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(TouchpadTapSuppressionController); | 65 DISALLOW_COPY_AND_ASSIGN(TouchpadTapSuppressionController); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace content | 68 } // namespace content |
69 | 69 |
70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLL
ER_H_ | 70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLL
ER_H_ |
OLD | NEW |