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

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

Issue 348813002: Extend MotionEvent to have tool type and button state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 6 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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 jint action_index, 107 jint action_index,
108 jfloat pos_x_0, 108 jfloat pos_x_0,
109 jfloat pos_y_0, 109 jfloat pos_y_0,
110 jfloat pos_x_1, 110 jfloat pos_x_1,
111 jfloat pos_y_1, 111 jfloat pos_y_1,
112 jint pointer_id_0, 112 jint pointer_id_0,
113 jint pointer_id_1, 113 jint pointer_id_1,
114 jfloat touch_major_0, 114 jfloat touch_major_0,
115 jfloat touch_major_1, 115 jfloat touch_major_1,
116 jfloat raw_pos_x, 116 jfloat raw_pos_x,
117 jfloat raw_pos_y); 117 jfloat raw_pos_y,
118 jint android_tool_type_0,
119 jint android_tool_type_1,
120 jint android_button_state);
118 jboolean SendMouseMoveEvent(JNIEnv* env, 121 jboolean SendMouseMoveEvent(JNIEnv* env,
119 jobject obj, 122 jobject obj,
120 jlong time_ms, 123 jlong time_ms,
121 jfloat x, 124 jfloat x,
122 jfloat y); 125 jfloat y);
123 jboolean SendMouseWheelEvent(JNIEnv* env, 126 jboolean SendMouseWheelEvent(JNIEnv* env,
124 jobject obj, 127 jobject obj,
125 jlong time_ms, 128 jlong time_ms,
126 jfloat x, 129 jfloat x,
127 jfloat y, 130 jfloat y,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 java_bridge_dispatcher_host_manager_; 386 java_bridge_dispatcher_host_manager_;
384 387
385 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 388 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
386 }; 389 };
387 390
388 bool RegisterContentViewCore(JNIEnv* env); 391 bool RegisterContentViewCore(JNIEnv* env);
389 392
390 } // namespace content 393 } // namespace content
391 394
392 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 395 #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