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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 jfloat raw_pos_y, | 134 jfloat raw_pos_y, |
135 jint android_tool_type_0, | 135 jint android_tool_type_0, |
136 jint android_tool_type_1, | 136 jint android_tool_type_1, |
137 jint android_button_state, | 137 jint android_button_state, |
138 jint android_meta_state, | 138 jint android_meta_state, |
139 jboolean is_touch_handle_event); | 139 jboolean is_touch_handle_event); |
140 jboolean SendMouseMoveEvent(JNIEnv* env, | 140 jboolean SendMouseMoveEvent(JNIEnv* env, |
141 const base::android::JavaParamRef<jobject>& obj, | 141 const base::android::JavaParamRef<jobject>& obj, |
142 jlong time_ms, | 142 jlong time_ms, |
143 jfloat x, | 143 jfloat x, |
144 jfloat y); | 144 jfloat y, |
| 145 jint tool_type); |
145 jboolean SendMouseWheelEvent(JNIEnv* env, | 146 jboolean SendMouseWheelEvent(JNIEnv* env, |
146 const base::android::JavaParamRef<jobject>& obj, | 147 const base::android::JavaParamRef<jobject>& obj, |
147 jlong time_ms, | 148 jlong time_ms, |
148 jfloat x, | 149 jfloat x, |
149 jfloat y, | 150 jfloat y, |
150 jfloat ticks_x, | 151 jfloat ticks_x, |
151 jfloat ticks_y, | 152 jfloat ticks_y, |
152 jfloat pixels_per_tick); | 153 jfloat pixels_per_tick); |
153 void ScrollBegin(JNIEnv* env, | 154 void ScrollBegin(JNIEnv* env, |
154 const base::android::JavaParamRef<jobject>& obj, | 155 const base::android::JavaParamRef<jobject>& obj, |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 470 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
470 | 471 |
471 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 472 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
472 }; | 473 }; |
473 | 474 |
474 bool RegisterContentViewCore(JNIEnv* env); | 475 bool RegisterContentViewCore(JNIEnv* env); |
475 | 476 |
476 } // namespace content | 477 } // namespace content |
477 | 478 |
478 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 479 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |