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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 jint max_entries); | 194 jint max_entries); |
195 void UpdateVSyncParameters(JNIEnv* env, jobject obj, jlong timebase_micros, | 195 void UpdateVSyncParameters(JNIEnv* env, jobject obj, jlong timebase_micros, |
196 jlong interval_micros); | 196 jlong interval_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 EnableHidingTopControls(JNIEnv* env, jobject obj, bool enable); | 203 void EnableHidingTopControls(JNIEnv* env, jobject obj, bool enable); |
| 204 void ShowTopControls(JNIEnv* env, jobject obj, bool show); |
204 void ShowImeIfNeeded(JNIEnv* env, jobject obj); | 205 void ShowImeIfNeeded(JNIEnv* env, jobject obj); |
205 | 206 |
206 void ShowInterstitialPage(JNIEnv* env, | 207 void ShowInterstitialPage(JNIEnv* env, |
207 jobject obj, | 208 jobject obj, |
208 jstring jurl, | 209 jstring jurl, |
209 jint delegate); | 210 jint delegate); |
210 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); | 211 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); |
211 | 212 |
212 jboolean ConsumePendingRendererFrame(JNIEnv* env, jobject obj); | 213 jboolean ConsumePendingRendererFrame(JNIEnv* env, jobject obj); |
213 | 214 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 scoped_ptr<SyncInputEventFilter> input_event_filter_; | 349 scoped_ptr<SyncInputEventFilter> input_event_filter_; |
349 | 350 |
350 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 351 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
351 }; | 352 }; |
352 | 353 |
353 bool RegisterContentViewCore(JNIEnv* env); | 354 bool RegisterContentViewCore(JNIEnv* env); |
354 | 355 |
355 } // namespace content | 356 } // namespace content |
356 | 357 |
357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 358 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |