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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 2783233004: Refine tap disambiguation UMA to track same-node/different-node. (Closed)
Patch Set: Deprecate existing field Created 3 years, 8 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
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 const base::android::JavaParamRef<jobject>& obj, 121 const base::android::JavaParamRef<jobject>& obj,
122 jlong time_ms, 122 jlong time_ms,
123 jfloat x, 123 jfloat x,
124 jfloat y, 124 jfloat y,
125 jfloat vx, 125 jfloat vx,
126 jfloat vy, 126 jfloat vy,
127 jboolean target_viewport); 127 jboolean target_viewport);
128 void FlingCancel(JNIEnv* env, 128 void FlingCancel(JNIEnv* env,
129 const base::android::JavaParamRef<jobject>& obj, 129 const base::android::JavaParamRef<jobject>& obj,
130 jlong time_ms); 130 jlong time_ms);
131 void SingleTap(JNIEnv* env,
132 const base::android::JavaParamRef<jobject>& obj,
133 jlong time_ms,
134 jfloat x,
135 jfloat y);
136 void DoubleTap(JNIEnv* env, 131 void DoubleTap(JNIEnv* env,
137 const base::android::JavaParamRef<jobject>& obj, 132 const base::android::JavaParamRef<jobject>& obj,
138 jlong time_ms, 133 jlong time_ms,
139 jfloat x, 134 jfloat x,
140 jfloat y); 135 jfloat y);
141 void LongPress(JNIEnv* env, 136
142 const base::android::JavaParamRef<jobject>& obj, 137 void ResolveTapDisambiguation(JNIEnv* env,
143 jlong time_ms, 138 const base::android::JavaParamRef<jobject>& obj,
144 jfloat x, 139 jlong time_ms,
145 jfloat y); 140 jfloat x,
141 jfloat y,
142 jboolean is_long_press);
143
146 void PinchBegin(JNIEnv* env, 144 void PinchBegin(JNIEnv* env,
147 const base::android::JavaParamRef<jobject>& obj, 145 const base::android::JavaParamRef<jobject>& obj,
148 jlong time_ms, 146 jlong time_ms,
149 jfloat x, 147 jfloat x,
150 jfloat y); 148 jfloat y);
151 void PinchEnd(JNIEnv* env, 149 void PinchEnd(JNIEnv* env,
152 const base::android::JavaParamRef<jobject>& obj, 150 const base::android::JavaParamRef<jobject>& obj,
153 jlong time_ms); 151 jlong time_ms);
154 void PinchBy(JNIEnv* env, 152 void PinchBy(JNIEnv* env,
155 const base::android::JavaParamRef<jobject>& obj, 153 const base::android::JavaParamRef<jobject>& obj,
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 402 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
405 403
406 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 404 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
407 }; 405 };
408 406
409 bool RegisterContentViewCore(JNIEnv* env); 407 bool RegisterContentViewCore(JNIEnv* env);
410 408
411 } // namespace content 409 } // namespace content
412 410
413 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 411 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698