Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 jint action_index, | 103 jint action_index, |
| 104 jfloat pos_x_0, | 104 jfloat pos_x_0, |
| 105 jfloat pos_y_0, | 105 jfloat pos_y_0, |
| 106 jfloat pos_x_1, | 106 jfloat pos_x_1, |
| 107 jfloat pos_y_1, | 107 jfloat pos_y_1, |
| 108 jint pointer_id_0, | 108 jint pointer_id_0, |
| 109 jint pointer_id_1, | 109 jint pointer_id_1, |
| 110 jfloat touch_major_0, | 110 jfloat touch_major_0, |
| 111 jfloat touch_major_1, | 111 jfloat touch_major_1, |
| 112 jfloat raw_pos_x, | 112 jfloat raw_pos_x, |
| 113 jfloat raw_pos_y); | 113 jfloat raw_pos_y, |
| 114 jint android_tool_type_0, | |
|
jdduke (slow)
2014/06/20 15:33:25
Sigh, this method has grown so large, but I don't
Changwan Ryu
2014/06/20 21:00:34
One idea to encapsulate these parameters would be
| |
| 115 jint android_tool_type_1, | |
| 116 jint android_button_state); | |
| 114 jboolean SendMouseMoveEvent(JNIEnv* env, | 117 jboolean SendMouseMoveEvent(JNIEnv* env, |
| 115 jobject obj, | 118 jobject obj, |
| 116 jlong time_ms, | 119 jlong time_ms, |
| 117 jfloat x, | 120 jfloat x, |
| 118 jfloat y); | 121 jfloat y); |
| 119 jboolean SendMouseWheelEvent(JNIEnv* env, | 122 jboolean SendMouseWheelEvent(JNIEnv* env, |
| 120 jobject obj, | 123 jobject obj, |
| 121 jlong time_ms, | 124 jlong time_ms, |
| 122 jfloat x, | 125 jfloat x, |
| 123 jfloat y, | 126 jfloat y, |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 379 java_bridge_dispatcher_host_manager_; | 382 java_bridge_dispatcher_host_manager_; |
| 380 | 383 |
| 381 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 384 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 382 }; | 385 }; |
| 383 | 386 |
| 384 bool RegisterContentViewCore(JNIEnv* env); | 387 bool RegisterContentViewCore(JNIEnv* env); |
| 385 | 388 |
| 386 } // namespace content | 389 } // namespace content |
| 387 | 390 |
| 388 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 391 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |