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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 void UpdateTopControlsState(JNIEnv* env, | 213 void UpdateTopControlsState(JNIEnv* env, |
214 jobject obj, | 214 jobject obj, |
215 bool enable_hiding, | 215 bool enable_hiding, |
216 bool enable_showing, | 216 bool enable_showing, |
217 bool animate); | 217 bool animate); |
218 void ShowImeIfNeeded(JNIEnv* env, jobject obj); | 218 void ShowImeIfNeeded(JNIEnv* env, jobject obj); |
219 | 219 |
220 void ShowInterstitialPage(JNIEnv* env, | 220 void ShowInterstitialPage(JNIEnv* env, |
221 jobject obj, | 221 jobject obj, |
222 jstring jurl, | 222 jstring jurl, |
223 jint delegate); | 223 jlong delegate); |
224 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); | 224 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); |
225 | 225 |
226 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); | 226 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); |
227 | 227 |
228 void ExtractSmartClipData(JNIEnv* env, | 228 void ExtractSmartClipData(JNIEnv* env, |
229 jobject obj, | 229 jobject obj, |
230 jint x, | 230 jint x, |
231 jint y, | 231 jint y, |
232 jint width, | 232 jint width, |
233 jint height); | 233 jint height); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 bool geolocation_needs_pause_; | 406 bool geolocation_needs_pause_; |
407 | 407 |
408 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 408 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
409 }; | 409 }; |
410 | 410 |
411 bool RegisterContentViewCore(JNIEnv* env); | 411 bool RegisterContentViewCore(JNIEnv* env); |
412 | 412 |
413 } // namespace content | 413 } // namespace content |
414 | 414 |
415 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 415 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |