| 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 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 const base::android::JavaParamRef<jobject>& obj, | 298 const base::android::JavaParamRef<jobject>& obj, |
| 299 jint target_x, | 299 jint target_x, |
| 300 jint target_y, | 300 jint target_y, |
| 301 jlong duration_ms); | 301 jlong duration_ms); |
| 302 void SetDipScale(JNIEnv* env, | 302 void SetDipScale(JNIEnv* env, |
| 303 const base::android::JavaParamRef<jobject>& obj, | 303 const base::android::JavaParamRef<jobject>& obj, |
| 304 jfloat dip_scale); | 304 jfloat dip_scale); |
| 305 void SetSaveFormData(bool enabled); | 305 void SetSaveFormData(bool enabled); |
| 306 | 306 |
| 307 // Sets the java client | 307 // Sets the java client |
| 308 void SetAwAutofillClient(jobject client); | 308 void SetAwAutofillClient(const base::android::JavaRef<jobject>& client); |
| 309 | 309 |
| 310 void SetJsOnlineProperty(JNIEnv* env, | 310 void SetJsOnlineProperty(JNIEnv* env, |
| 311 const base::android::JavaParamRef<jobject>& obj, | 311 const base::android::JavaParamRef<jobject>& obj, |
| 312 jboolean network_up); | 312 jboolean network_up); |
| 313 void TrimMemory(JNIEnv* env, | 313 void TrimMemory(JNIEnv* env, |
| 314 const base::android::JavaParamRef<jobject>& obj, | 314 const base::android::JavaParamRef<jobject>& obj, |
| 315 jint level, | 315 jint level, |
| 316 jboolean visible); | 316 jboolean visible); |
| 317 | 317 |
| 318 scoped_refptr<AwMessagePortMessageFilter> GetMessagePortMessageFilter(); | 318 scoped_refptr<AwMessagePortMessageFilter> GetMessagePortMessageFilter(); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 GLViewRendererManager::Key renderer_manager_key_; | 375 GLViewRendererManager::Key renderer_manager_key_; |
| 376 | 376 |
| 377 DISALLOW_COPY_AND_ASSIGN(AwContents); | 377 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 bool RegisterAwContents(JNIEnv* env); | 380 bool RegisterAwContents(JNIEnv* env); |
| 381 | 381 |
| 382 } // namespace android_webview | 382 } // namespace android_webview |
| 383 | 383 |
| 384 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 384 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |