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

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

Issue 1680143002: Simulate click through gamepad BUTTON_A (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simulate click Created 4 years, 7 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 jfloat y, 143 jfloat y,
144 jint tool_type); 144 jint tool_type);
145 jboolean SendMouseWheelEvent(JNIEnv* env, 145 jboolean SendMouseWheelEvent(JNIEnv* env,
146 const base::android::JavaParamRef<jobject>& obj, 146 const base::android::JavaParamRef<jobject>& obj,
147 jlong time_ms, 147 jlong time_ms,
148 jfloat x, 148 jfloat x,
149 jfloat y, 149 jfloat y,
150 jfloat ticks_x, 150 jfloat ticks_x,
151 jfloat ticks_y, 151 jfloat ticks_y,
152 jfloat pixels_per_tick); 152 jfloat pixels_per_tick);
153 void SimulateClick(JNIEnv* env,
154 const base::android::JavaParamRef<jobject>& obj);
153 void ScrollBegin(JNIEnv* env, 155 void ScrollBegin(JNIEnv* env,
154 const base::android::JavaParamRef<jobject>& obj, 156 const base::android::JavaParamRef<jobject>& obj,
155 jlong time_ms, 157 jlong time_ms,
156 jfloat x, 158 jfloat x,
157 jfloat y, 159 jfloat y,
158 jfloat hintx, 160 jfloat hintx,
159 jfloat hinty, 161 jfloat hinty,
160 jboolean target_viewport); 162 jboolean target_viewport);
161 void ScrollEnd(JNIEnv* env, 163 void ScrollEnd(JNIEnv* env,
162 const base::android::JavaParamRef<jobject>& obj, 164 const base::android::JavaParamRef<jobject>& obj,
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 472 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
471 473
472 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 474 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
473 }; 475 };
474 476
475 bool RegisterContentViewCore(JNIEnv* env); 477 bool RegisterContentViewCore(JNIEnv* env);
476 478
477 } // namespace content 479 } // namespace content
478 480
479 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 481 #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