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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 1728193002: Support dragging texts into Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index aab7ecafbd0a15b6bac63a572ac2387791c065a1..a8e07303f2d7a27459a8e309f790f30a6eed52c3 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -278,6 +278,27 @@ class ContentViewCoreImpl : public ContentViewCore,
void SetBackgroundOpaque(JNIEnv* env,
const base::android::JavaParamRef<jobject>& jobj,
jboolean opaque);
+ void OnDragEntered(JNIEnv* env,
Ted C 2016/02/25 18:38:53 again to the api comment, onTouchEvent has a singl
hush (inactive) 2016/02/27 01:46:13 Yes, I will replace this bunch with OnDragEvent.
+ const base::android::JavaParamRef<jobject>& jobj,
+ int x,
+ int y,
+ int screen_x,
+ int screen_y);
+ void OnDragUpdated(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj,
+ int x,
+ int y,
+ int screen_x,
+ int screen_y);
+ void OnPerformDrop(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj,
+ int x,
+ int y,
+ int screen_x,
+ int screen_y,
+ const base::android::JavaParamRef<jstring>& content);
+ void OnDragExited(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj);
jint GetCurrentRenderProcessId(
JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698