| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 jint scroll_y, | 129 jint scroll_y, |
| 130 jint visible_left, | 130 jint visible_left, |
| 131 jint visible_top, | 131 jint visible_top, |
| 132 jint visible_right, | 132 jint visible_right, |
| 133 jint visible_bottom); | 133 jint visible_bottom); |
| 134 jlong GetAwDrawGLViewContext(JNIEnv* env, jobject obj); | 134 jlong GetAwDrawGLViewContext(JNIEnv* env, jobject obj); |
| 135 jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height); | 135 jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height); |
| 136 void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled); | 136 void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled); |
| 137 void InsertVisualStateCallback(JNIEnv* env, | 137 void InsertVisualStateCallback(JNIEnv* env, |
| 138 jobject obj, | 138 jobject obj, |
| 139 long request_id, | 139 jlong request_id, |
| 140 jobject callback); | 140 jobject callback); |
| 141 void ClearView(JNIEnv* env, jobject obj); | 141 void ClearView(JNIEnv* env, jobject obj); |
| 142 void SetExtraHeadersForUrl(JNIEnv* env, jobject obj, | 142 void SetExtraHeadersForUrl(JNIEnv* env, jobject obj, |
| 143 jstring url, jstring extra_headers); | 143 jstring url, jstring extra_headers); |
| 144 | 144 |
| 145 void InvokeGeolocationCallback(JNIEnv* env, | 145 void InvokeGeolocationCallback(JNIEnv* env, |
| 146 jobject obj, | 146 jobject obj, |
| 147 jboolean value, | 147 jboolean value, |
| 148 jstring origin); | 148 jstring origin); |
| 149 | 149 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 GLViewRendererManager::Key renderer_manager_key_; | 275 GLViewRendererManager::Key renderer_manager_key_; |
| 276 | 276 |
| 277 DISALLOW_COPY_AND_ASSIGN(AwContents); | 277 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 bool RegisterAwContents(JNIEnv* env); | 280 bool RegisterAwContents(JNIEnv* env); |
| 281 | 281 |
| 282 } // namespace android_webview | 282 } // namespace android_webview |
| 283 | 283 |
| 284 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 284 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |