OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/debug/latency_info.h" | |
10 #include "content/browser/renderer_host/event_with_latency_info.h" | 9 #include "content/browser/renderer_host/event_with_latency_info.h" |
11 #include "content/browser/renderer_host/tap_suppression_controller_client.h" | 10 #include "content/browser/renderer_host/tap_suppression_controller_client.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
13 | 12 |
14 namespace content { | 13 namespace content { |
15 | 14 |
16 class RenderWidgetHostImpl; | 15 class RenderWidgetHostImpl; |
17 class TapSuppressionController; | 16 class TapSuppressionController; |
18 | 17 |
19 // Controls the suppression of touchpad taps immediately following the dispatch | 18 // Controls the suppression of touchpad taps immediately following the dispatch |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 53 |
55 // The core controller of tap suppression. | 54 // The core controller of tap suppression. |
56 scoped_ptr<TapSuppressionController> controller_; | 55 scoped_ptr<TapSuppressionController> controller_; |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(TouchpadTapSuppressionController); | 57 DISALLOW_COPY_AND_ASSIGN(TouchpadTapSuppressionController); |
59 }; | 58 }; |
60 | 59 |
61 } // namespace content | 60 } // namespace content |
62 | 61 |
63 #endif // CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ | 62 #endif // CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ |
OLD | NEW |