| 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_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_
H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_
H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/browser/renderer_host/tap_suppression_controller_client.h" | 9 #include "content/browser/renderer_host/input/tap_suppression_controller_client.
h" |
| 10 #include "content/port/browser/event_with_latency_info.h" | 10 #include "content/port/browser/event_with_latency_info.h" |
| 11 #include "third_party/WebKit/public/web/WebInputEvent.h" | 11 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 class InputRouter; | 15 class InputRouter; |
| 16 class TapSuppressionController; | 16 class TapSuppressionController; |
| 17 | 17 |
| 18 // Controls the suppression of touchpad taps immediately following the dispatch | 18 // Controls the suppression of touchpad taps immediately following the dispatch |
| 19 // of a GestureFlingCancel event. | 19 // of a GestureFlingCancel event. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 MouseEventWithLatencyInfo stashed_mouse_down_; | 53 MouseEventWithLatencyInfo stashed_mouse_down_; |
| 54 | 54 |
| 55 // The core controller of tap suppression. | 55 // The core controller of tap suppression. |
| 56 scoped_ptr<TapSuppressionController> controller_; | 56 scoped_ptr<TapSuppressionController> controller_; |
| 57 | 57 |
| 58 DISALLOW_COPY_AND_ASSIGN(TouchpadTapSuppressionController); | 58 DISALLOW_COPY_AND_ASSIGN(TouchpadTapSuppressionController); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace content | 61 } // namespace content |
| 62 | 62 |
| 63 #endif // CONTENT_BROWSER_RENDERER_HOST_TOUCHPAD_TAP_SUPPRESSION_CONTROLLER_H_ | 63 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCHPAD_TAP_SUPPRESSION_CONTROLL
ER_H_ |
| OLD | NEW |