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

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

Issue 792333004: Mousewhell on Chrome Android can scroll vertically and horizontally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 jboolean SendMouseMoveEvent(JNIEnv* env, 112 jboolean SendMouseMoveEvent(JNIEnv* env,
113 jobject obj, 113 jobject obj,
114 jlong time_ms, 114 jlong time_ms,
115 jfloat x, 115 jfloat x,
116 jfloat y); 116 jfloat y);
117 jboolean SendMouseWheelEvent(JNIEnv* env, 117 jboolean SendMouseWheelEvent(JNIEnv* env,
118 jobject obj, 118 jobject obj,
119 jlong time_ms, 119 jlong time_ms,
120 jfloat x, 120 jfloat x,
121 jfloat y, 121 jfloat y,
122 jfloat vertical_axis); 122 jfloat vertical_axis,
123 jfloat horizontal_axis);
123 void ScrollBegin(JNIEnv* env, jobject obj, jlong time_ms, 124 void ScrollBegin(JNIEnv* env, jobject obj, jlong time_ms,
124 jfloat x, jfloat y, jfloat hintx, jfloat hinty); 125 jfloat x, jfloat y, jfloat hintx, jfloat hinty);
125 void ScrollEnd(JNIEnv* env, jobject obj, jlong time_ms); 126 void ScrollEnd(JNIEnv* env, jobject obj, jlong time_ms);
126 void ScrollBy(JNIEnv* env, jobject obj, jlong time_ms, 127 void ScrollBy(JNIEnv* env, jobject obj, jlong time_ms,
127 jfloat x, jfloat y, jfloat dx, jfloat dy); 128 jfloat x, jfloat y, jfloat dx, jfloat dy);
128 void FlingStart(JNIEnv* env, jobject obj, jlong time_ms, 129 void FlingStart(JNIEnv* env, jobject obj, jlong time_ms,
129 jfloat x, jfloat y, jfloat vx, jfloat vy); 130 jfloat x, jfloat y, jfloat vx, jfloat vy);
130 void FlingCancel(JNIEnv* env, jobject obj, jlong time_ms); 131 void FlingCancel(JNIEnv* env, jobject obj, jlong time_ms);
131 void SingleTap(JNIEnv* env, jobject obj, jlong time_ms, 132 void SingleTap(JNIEnv* env, jobject obj, jlong time_ms,
132 jfloat x, jfloat y); 133 jfloat x, jfloat y);
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 345 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
345 346
346 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 347 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
347 }; 348 };
348 349
349 bool RegisterContentViewCore(JNIEnv* env); 350 bool RegisterContentViewCore(JNIEnv* env);
350 351
351 } // namespace content 352 } // namespace content
352 353
353 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 354 #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