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 #include "content/browser/android/touch_point.h" | 5 #include "content/browser/android/touch_point.h" |
6 | 6 |
7 #include "base/debug/debugger.h" | 7 #include "base/debug/debugger.h" |
8 #include "base/time.h" | |
9 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/time/time.h" |
10 | 10 |
11 #include "jni/TouchPoint_jni.h" | 11 #include "jni/TouchPoint_jni.h" |
12 | 12 |
13 using WebKit::WebTouchEvent; | 13 using WebKit::WebTouchEvent; |
14 using WebKit::WebTouchPoint; | 14 using WebKit::WebTouchPoint; |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 void MaybeAddTouchPoint(JNIEnv* env, | 18 void MaybeAddTouchPoint(JNIEnv* env, |
19 jobject pt, | 19 jobject pt, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 bool RegisterTouchPoint(JNIEnv* env) { | 106 bool RegisterTouchPoint(JNIEnv* env) { |
107 if (!RegisterNativesImpl(env)) | 107 if (!RegisterNativesImpl(env)) |
108 return false; | 108 return false; |
109 | 109 |
110 RegisterConstants(env); | 110 RegisterConstants(env); |
111 | 111 |
112 return true; | 112 return true; |
113 } | 113 } |
114 | 114 |
115 } // namespace content | 115 } // namespace content |
OLD | NEW |