| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 const base::android::JavaParamRef<jstring>& textTrackFontStyle, | 212 const base::android::JavaParamRef<jstring>& textTrackFontStyle, |
| 213 const base::android::JavaParamRef<jstring>& textTrackFontVariant, | 213 const base::android::JavaParamRef<jstring>& textTrackFontVariant, |
| 214 const base::android::JavaParamRef<jstring>& textTrackTextColor, | 214 const base::android::JavaParamRef<jstring>& textTrackTextColor, |
| 215 const base::android::JavaParamRef<jstring>& textTrackTextShadow, | 215 const base::android::JavaParamRef<jstring>& textTrackTextShadow, |
| 216 const base::android::JavaParamRef<jstring>& textTrackTextSize); | 216 const base::android::JavaParamRef<jstring>& textTrackTextSize); |
| 217 | 217 |
| 218 void SetBackgroundOpaque(JNIEnv* env, | 218 void SetBackgroundOpaque(JNIEnv* env, |
| 219 const base::android::JavaParamRef<jobject>& jobj, | 219 const base::android::JavaParamRef<jobject>& jobj, |
| 220 jboolean opaque); | 220 jboolean opaque); |
| 221 | 221 |
| 222 bool IsTouchDragDropEnabled(JNIEnv* env, | |
| 223 const base::android::JavaParamRef<jobject>& jobj); | |
| 224 | |
| 225 void OnDragEvent(JNIEnv* env, | |
| 226 const base::android::JavaParamRef<jobject>& jobj, | |
| 227 jint action, | |
| 228 jint x, | |
| 229 jint y, | |
| 230 jint screen_x, | |
| 231 jint screen_y, | |
| 232 const base::android::JavaParamRef<jobjectArray>& j_mimeTypes, | |
| 233 const base::android::JavaParamRef<jstring>& j_content); | |
| 234 | |
| 235 jint GetCurrentRenderProcessId( | 222 jint GetCurrentRenderProcessId( |
| 236 JNIEnv* env, | 223 JNIEnv* env, |
| 237 const base::android::JavaParamRef<jobject>& obj); | 224 const base::android::JavaParamRef<jobject>& obj); |
| 238 | 225 |
| 239 // -------------------------------------------------------------------------- | 226 // -------------------------------------------------------------------------- |
| 240 // Public methods that call to Java via JNI | 227 // Public methods that call to Java via JNI |
| 241 // -------------------------------------------------------------------------- | 228 // -------------------------------------------------------------------------- |
| 242 | 229 |
| 243 void HidePopupsAndPreserveSelection(); | 230 void HidePopupsAndPreserveSelection(); |
| 244 | 231 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 374 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 388 | 375 |
| 389 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 376 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 390 }; | 377 }; |
| 391 | 378 |
| 392 bool RegisterContentViewCore(JNIEnv* env); | 379 bool RegisterContentViewCore(JNIEnv* env); |
| 393 | 380 |
| 394 } // namespace content | 381 } // namespace content |
| 395 | 382 |
| 396 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 383 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |