OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TAP_SUPPRESSION_CONTROLLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/time.h" | 8 #include "base/time.h" |
10 #include "base/timer.h" | 9 #include "base/timer.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 class RenderWidgetHostImpl; | 14 class RenderWidgetHostImpl; |
16 | 15 |
17 // Controls the suppression of taps (rapid mousedown/mouseup sequences) | 16 // Controls the suppression of taps (rapid mousedown/mouseup sequences) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // Replace the use of base::TimeTicks with an accurate event time when they | 63 // Replace the use of base::TimeTicks with an accurate event time when they |
65 // become available post http://crbug.com/119556. | 64 // become available post http://crbug.com/119556. |
66 base::TimeTicks fling_cancel_time_; | 65 base::TimeTicks fling_cancel_time_; |
67 | 66 |
68 DISALLOW_COPY_AND_ASSIGN(TapSuppressionController); | 67 DISALLOW_COPY_AND_ASSIGN(TapSuppressionController); |
69 }; | 68 }; |
70 | 69 |
71 } // namespace content | 70 } // namespace content |
72 | 71 |
73 #endif // CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_ | 72 #endif // CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_ |
OLD | NEW |