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