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

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

Issue 2054193002: Android mouse events shouldn't appear as TouchEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a test, etc. Created 4 years, 1 month 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 jfloat orientation_1, 114 jfloat orientation_1,
115 jfloat tilt_0, 115 jfloat tilt_0,
116 jfloat tilt_1, 116 jfloat tilt_1,
117 jfloat raw_pos_x, 117 jfloat raw_pos_x,
118 jfloat raw_pos_y, 118 jfloat raw_pos_y,
119 jint android_tool_type_0, 119 jint android_tool_type_0,
120 jint android_tool_type_1, 120 jint android_tool_type_1,
121 jint android_button_state, 121 jint android_button_state,
122 jint android_meta_state, 122 jint android_meta_state,
123 jboolean is_touch_handle_event); 123 jboolean is_touch_handle_event);
124 jboolean SendMouseMoveEvent(JNIEnv* env, 124 jboolean SendMouseEvent(JNIEnv* env,
125 const base::android::JavaParamRef<jobject>& obj, 125 const base::android::JavaParamRef<jobject>& obj,
126 jlong time_ms, 126 jlong time_ms,
127 jfloat x, 127 jint android_action,
128 jfloat y, 128 jfloat x,
129 jint tool_type); 129 jfloat y,
130 jint pointer_id,
131 jfloat pressure,
132 jfloat orientation,
133 jfloat tilt,
134 jint android_changed_button,
135 jint android_button_state,
136 jint android_meta_state,
137 jint tool_type);
130 jboolean SendMouseWheelEvent(JNIEnv* env, 138 jboolean SendMouseWheelEvent(JNIEnv* env,
131 const base::android::JavaParamRef<jobject>& obj, 139 const base::android::JavaParamRef<jobject>& obj,
132 jlong time_ms, 140 jlong time_ms,
133 jfloat x, 141 jfloat x,
134 jfloat y, 142 jfloat y,
135 jfloat ticks_x, 143 jfloat ticks_x,
136 jfloat ticks_y, 144 jfloat ticks_y,
137 jfloat pixels_per_tick); 145 jfloat pixels_per_tick);
138 void ScrollBegin(JNIEnv* env, 146 void ScrollBegin(JNIEnv* env,
139 const base::android::JavaParamRef<jobject>& obj, 147 const base::android::JavaParamRef<jobject>& obj,
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 466 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
459 467
460 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 468 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
461 }; 469 };
462 470
463 bool RegisterContentViewCore(JNIEnv* env); 471 bool RegisterContentViewCore(JNIEnv* env);
464 472
465 } // namespace content 473 } // namespace content
466 474
467 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 475 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « blimp/client/core/contents/android/blimp_view.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698