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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 const base::android::JavaParamRef<jobject>& obj); | 156 const base::android::JavaParamRef<jobject>& obj); |
157 jboolean RestoreFromOpaqueState( | 157 jboolean RestoreFromOpaqueState( |
158 JNIEnv* env, | 158 JNIEnv* env, |
159 const base::android::JavaParamRef<jobject>& obj, | 159 const base::android::JavaParamRef<jobject>& obj, |
160 const base::android::JavaParamRef<jbyteArray>& state); | 160 const base::android::JavaParamRef<jbyteArray>& state); |
161 void FocusFirstNode(JNIEnv* env, | 161 void FocusFirstNode(JNIEnv* env, |
162 const base::android::JavaParamRef<jobject>& obj); | 162 const base::android::JavaParamRef<jobject>& obj); |
163 void SetBackgroundColor(JNIEnv* env, | 163 void SetBackgroundColor(JNIEnv* env, |
164 const base::android::JavaParamRef<jobject>& obj, | 164 const base::android::JavaParamRef<jobject>& obj, |
165 jint color); | 165 jint color); |
| 166 void SynchronizeRendererScroll( |
| 167 JNIEnv* env, |
| 168 const base::android::JavaParamRef<jobject>& obj); |
166 void OnComputeScroll(JNIEnv* env, | 169 void OnComputeScroll(JNIEnv* env, |
167 const base::android::JavaParamRef<jobject>& obj, | 170 const base::android::JavaParamRef<jobject>& obj, |
168 jlong animation_time_millis); | 171 jlong animation_time_millis); |
169 bool OnDraw(JNIEnv* env, | 172 bool OnDraw(JNIEnv* env, |
170 const base::android::JavaParamRef<jobject>& obj, | 173 const base::android::JavaParamRef<jobject>& obj, |
171 const base::android::JavaParamRef<jobject>& canvas, | 174 const base::android::JavaParamRef<jobject>& canvas, |
172 jboolean is_hardware_accelerated, | 175 jboolean is_hardware_accelerated, |
173 jint scroll_x, | 176 jint scroll_x, |
174 jint scroll_y, | 177 jint scroll_y, |
175 jint visible_left, | 178 jint visible_left, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 GLViewRendererManager::Key renderer_manager_key_; | 368 GLViewRendererManager::Key renderer_manager_key_; |
366 | 369 |
367 DISALLOW_COPY_AND_ASSIGN(AwContents); | 370 DISALLOW_COPY_AND_ASSIGN(AwContents); |
368 }; | 371 }; |
369 | 372 |
370 bool RegisterAwContents(JNIEnv* env); | 373 bool RegisterAwContents(JNIEnv* env); |
371 | 374 |
372 } // namespace android_webview | 375 } // namespace android_webview |
373 | 376 |
374 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 377 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |