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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 jboolean is_hardware_accelerated, | 120 jboolean is_hardware_accelerated, |
121 jint scroll_x, | 121 jint scroll_x, |
122 jint scroll_y, | 122 jint scroll_y, |
123 jint visible_left, | 123 jint visible_left, |
124 jint visible_top, | 124 jint visible_top, |
125 jint visible_right, | 125 jint visible_right, |
126 jint visible_bottom); | 126 jint visible_bottom); |
127 jlong GetAwDrawGLViewContext(JNIEnv* env, jobject obj); | 127 jlong GetAwDrawGLViewContext(JNIEnv* env, jobject obj); |
128 jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height); | 128 jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height); |
129 void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled); | 129 void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled); |
| 130 void FlushVisualState(JNIEnv* env, jobject obj, jobject callback); |
130 void ClearView(JNIEnv* env, jobject obj); | 131 void ClearView(JNIEnv* env, jobject obj); |
131 void SetExtraHeadersForUrl(JNIEnv* env, jobject obj, | 132 void SetExtraHeadersForUrl(JNIEnv* env, jobject obj, |
132 jstring url, jstring extra_headers); | 133 jstring url, jstring extra_headers); |
133 | 134 |
134 void InvokeGeolocationCallback(JNIEnv* env, | 135 void InvokeGeolocationCallback(JNIEnv* env, |
135 jobject obj, | 136 jobject obj, |
136 jboolean value, | 137 jboolean value, |
137 jstring origin); | 138 jstring origin); |
138 | 139 |
139 // PermissionRequestHandlerClient implementation. | 140 // PermissionRequestHandlerClient implementation. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 GLViewRendererManager::Key renderer_manager_key_; | 256 GLViewRendererManager::Key renderer_manager_key_; |
256 | 257 |
257 DISALLOW_COPY_AND_ASSIGN(AwContents); | 258 DISALLOW_COPY_AND_ASSIGN(AwContents); |
258 }; | 259 }; |
259 | 260 |
260 bool RegisterAwContents(JNIEnv* env); | 261 bool RegisterAwContents(JNIEnv* env); |
261 | 262 |
262 } // namespace android_webview | 263 } // namespace android_webview |
263 | 264 |
264 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 265 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |