| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_helper.h" | 10 #include "base/android/jni_helper.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 jlong interval_micros); | 195 jlong interval_micros); |
| 196 void OnVSync(JNIEnv* env, jobject /* obj */, jlong frame_time_micros); | 196 void OnVSync(JNIEnv* env, jobject /* obj */, jlong frame_time_micros); |
| 197 jboolean PopulateBitmapFromCompositor(JNIEnv* env, | 197 jboolean PopulateBitmapFromCompositor(JNIEnv* env, |
| 198 jobject obj, | 198 jobject obj, |
| 199 jobject jbitmap); | 199 jobject jbitmap); |
| 200 void WasResized(JNIEnv* env, jobject obj); | 200 void WasResized(JNIEnv* env, jobject obj); |
| 201 jboolean IsRenderWidgetHostViewReady(JNIEnv* env, jobject obj); | 201 jboolean IsRenderWidgetHostViewReady(JNIEnv* env, jobject obj); |
| 202 void ExitFullscreen(JNIEnv* env, jobject obj); | 202 void ExitFullscreen(JNIEnv* env, jobject obj); |
| 203 void UpdateTopControlsState(JNIEnv* env, | 203 void UpdateTopControlsState(JNIEnv* env, |
| 204 jobject obj, | 204 jobject obj, |
| 205 bool enable_hiding, | 205 jint constraints, |
| 206 bool enable_showing, | 206 jint current, |
| 207 bool animate); | 207 bool animate); |
| 208 void ShowImeIfNeeded(JNIEnv* env, jobject obj); | 208 void ShowImeIfNeeded(JNIEnv* env, jobject obj); |
| 209 | 209 |
| 210 void ShowInterstitialPage(JNIEnv* env, | 210 void ShowInterstitialPage(JNIEnv* env, |
| 211 jobject obj, | 211 jobject obj, |
| 212 jstring jurl, | 212 jstring jurl, |
| 213 jint delegate); | 213 jint delegate); |
| 214 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); | 214 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); |
| 215 | 215 |
| 216 void AttachExternalVideoSurface(JNIEnv* env, | 216 void AttachExternalVideoSurface(JNIEnv* env, |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 scoped_ptr<SyncInputEventFilter> input_event_filter_; | 353 scoped_ptr<SyncInputEventFilter> input_event_filter_; |
| 354 | 354 |
| 355 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 355 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 356 }; | 356 }; |
| 357 | 357 |
| 358 bool RegisterContentViewCore(JNIEnv* env); | 358 bool RegisterContentViewCore(JNIEnv* env); |
| 359 | 359 |
| 360 } // namespace content | 360 } // namespace content |
| 361 | 361 |
| 362 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 362 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |