| 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 void OnDragEvent(JNIEnv* env, |
| 286 const base::android::JavaParamRef<jobject>& jobj, |
| 287 int action, |
| 288 const base::android::JavaParamRef<jintArray>& j_locations, |
| 289 const base::android::JavaParamRef<jobjectArray>& j_mimeTypes, |
| 290 const base::android::JavaParamRef<jstring>& j_content); |
| 285 | 291 |
| 286 jint GetCurrentRenderProcessId( | 292 jint GetCurrentRenderProcessId( |
| 287 JNIEnv* env, | 293 JNIEnv* env, |
| 288 const base::android::JavaParamRef<jobject>& obj); | 294 const base::android::JavaParamRef<jobject>& obj); |
| 289 | 295 |
| 290 // -------------------------------------------------------------------------- | 296 // -------------------------------------------------------------------------- |
| 291 // Public methods that call to Java via JNI | 297 // Public methods that call to Java via JNI |
| 292 // -------------------------------------------------------------------------- | 298 // -------------------------------------------------------------------------- |
| 293 | 299 |
| 294 void OnSmartClipDataExtracted(const base::string16& text, | 300 void OnSmartClipDataExtracted(const base::string16& text, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 477 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 472 | 478 |
| 473 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 479 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 474 }; | 480 }; |
| 475 | 481 |
| 476 bool RegisterContentViewCore(JNIEnv* env); | 482 bool RegisterContentViewCore(JNIEnv* env); |
| 477 | 483 |
| 478 } // namespace content | 484 } // namespace content |
| 479 | 485 |
| 480 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 486 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |