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 <memory> | 10 #include <memory> |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 void ExtractSmartClipData(JNIEnv* env, | 275 void ExtractSmartClipData(JNIEnv* env, |
276 const base::android::JavaParamRef<jobject>& obj, | 276 const base::android::JavaParamRef<jobject>& obj, |
277 jint x, | 277 jint x, |
278 jint y, | 278 jint y, |
279 jint width, | 279 jint width, |
280 jint height); | 280 jint height); |
281 | 281 |
282 void SetBackgroundOpaque(JNIEnv* env, | 282 void SetBackgroundOpaque(JNIEnv* env, |
283 const base::android::JavaParamRef<jobject>& jobj, | 283 const base::android::JavaParamRef<jobject>& jobj, |
284 jboolean opaque); | 284 jboolean opaque); |
| 285 |
| 286 bool IsTouchDragDropEnabled(JNIEnv* env, |
| 287 const base::android::JavaParamRef<jobject>& jobj); |
| 288 |
285 void OnDragEvent(JNIEnv* env, | 289 void OnDragEvent(JNIEnv* env, |
286 const base::android::JavaParamRef<jobject>& jobj, | 290 const base::android::JavaParamRef<jobject>& jobj, |
287 jint action, | 291 jint action, |
288 jint x, | 292 jint x, |
289 jint y, | 293 jint y, |
290 jint screen_x, | 294 jint screen_x, |
291 jint screen_y, | 295 jint screen_y, |
292 const base::android::JavaParamRef<jobjectArray>& j_mimeTypes, | 296 const base::android::JavaParamRef<jobjectArray>& j_mimeTypes, |
293 const base::android::JavaParamRef<jstring>& j_content); | 297 const base::android::JavaParamRef<jstring>& j_content); |
294 | 298 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 484 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
481 | 485 |
482 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 486 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
483 }; | 487 }; |
484 | 488 |
485 bool RegisterContentViewCore(JNIEnv* env); | 489 bool RegisterContentViewCore(JNIEnv* env); |
486 | 490 |
487 } // namespace content | 491 } // namespace content |
488 | 492 |
489 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 493 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |