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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 bool enable_hiding, |
206 bool enable_showing, | 206 bool enable_showing, |
207 bool animate); | 207 bool animate); |
| 208 void ShowTopControls(JNIEnv* env, jobject obj, bool show); |
208 void ShowImeIfNeeded(JNIEnv* env, jobject obj); | 209 void ShowImeIfNeeded(JNIEnv* env, jobject obj); |
209 | 210 |
210 void ShowInterstitialPage(JNIEnv* env, | 211 void ShowInterstitialPage(JNIEnv* env, |
211 jobject obj, | 212 jobject obj, |
212 jstring jurl, | 213 jstring jurl, |
213 jint delegate); | 214 jint delegate); |
214 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); | 215 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); |
215 | 216 |
216 jboolean ConsumePendingRendererFrame(JNIEnv* env, jobject obj); | 217 jboolean ConsumePendingRendererFrame(JNIEnv* env, jobject obj); |
217 | 218 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 scoped_ptr<SyncInputEventFilter> input_event_filter_; | 355 scoped_ptr<SyncInputEventFilter> input_event_filter_; |
355 | 356 |
356 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 357 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
357 }; | 358 }; |
358 | 359 |
359 bool RegisterContentViewCore(JNIEnv* env); | 360 bool RegisterContentViewCore(JNIEnv* env); |
360 | 361 |
361 } // namespace content | 362 } // namespace content |
362 | 363 |
363 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 364 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |