| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 211 |
| 212 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); | 212 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); |
| 213 | 213 |
| 214 void ExtractSmartClipData(JNIEnv* env, | 214 void ExtractSmartClipData(JNIEnv* env, |
| 215 jobject obj, | 215 jobject obj, |
| 216 jint x, | 216 jint x, |
| 217 jint y, | 217 jint y, |
| 218 jint width, | 218 jint width, |
| 219 jint height); | 219 jint height); |
| 220 | 220 |
| 221 void ResumeResponseDeferredAtStart(JNIEnv* env, jobject obj); |
| 222 |
| 221 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); | 223 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); |
| 222 | 224 |
| 223 // -------------------------------------------------------------------------- | 225 // -------------------------------------------------------------------------- |
| 224 // Public methods that call to Java via JNI | 226 // Public methods that call to Java via JNI |
| 225 // -------------------------------------------------------------------------- | 227 // -------------------------------------------------------------------------- |
| 226 | 228 |
| 227 void OnSmartClipDataExtracted(const base::string16& result); | 229 void OnSmartClipDataExtracted(const base::string16& result); |
| 228 | 230 |
| 229 // Creates a popup menu with |items|. | 231 // Creates a popup menu with |items|. |
| 230 // |multiple| defines if it should support multi-select. | 232 // |multiple| defines if it should support multi-select. |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 java_bridge_dispatcher_host_manager_; | 375 java_bridge_dispatcher_host_manager_; |
| 374 | 376 |
| 375 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 377 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 376 }; | 378 }; |
| 377 | 379 |
| 378 bool RegisterContentViewCore(JNIEnv* env); | 380 bool RegisterContentViewCore(JNIEnv* env); |
| 379 | 381 |
| 380 } // namespace content | 382 } // namespace content |
| 381 | 383 |
| 382 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 384 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |