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

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: generate DragEvent JNI bindings and use the enums from JNI Created 4 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 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 3a445e8517b26243964c70caaf55ef7544472eef..0cc3c7e22693bbd012f6306331ae2cd54b329484 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -282,6 +282,15 @@ class ContentViewCoreImpl : public ContentViewCore,
void SetBackgroundOpaque(JNIEnv* env,
const base::android::JavaParamRef<jobject>& jobj,
jboolean opaque);
+ void OnDragEvent(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj,
+ jint action,
+ jint x,
+ jint y,
+ jint screen_x,
+ jint screen_y,
+ const base::android::JavaParamRef<jobjectArray>& j_mimeTypes,
+ const base::android::JavaParamRef<jstring>& j_content);
jint GetCurrentRenderProcessId(
JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698