Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: content/browser/renderer_host/tap_suppression_controller.h

Issue 18152002: Use a direct include of time headers in content/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7
8 #include "base/time.h" 8 #include "base/time/time.h"
9 #include "base/timer.h" 9 #include "base/timer/timer.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class TapSuppressionControllerClient; 14 class TapSuppressionControllerClient;
15 15
16 // The core controller for suppression of taps (touchpad or touchscreen) 16 // The core controller for suppression of taps (touchpad or touchscreen)
17 // immediately following a GestureFlingCancel event (caused by the same tap). 17 // immediately following a GestureFlingCancel event (caused by the same tap).
18 // Only taps of sufficient speed and within a specified time window after a 18 // Only taps of sufficient speed and within a specified time window after a
19 // GestureFlingCancel are suppressed. 19 // GestureFlingCancel are suppressed.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Replace the use of base::TimeTicks with an accurate event time when they 68 // Replace the use of base::TimeTicks with an accurate event time when they
69 // become available post http://crbug.com/119556. 69 // become available post http://crbug.com/119556.
70 base::TimeTicks fling_cancel_time_; 70 base::TimeTicks fling_cancel_time_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(TapSuppressionController); 72 DISALLOW_COPY_AND_ASSIGN(TapSuppressionController);
73 }; 73 };
74 74
75 } // namespace content 75 } // namespace content
76 76
77 #endif // CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_ 77 #endif // CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698