| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 void TrimMemory(JNIEnv* env, | 335 void TrimMemory(JNIEnv* env, |
| 336 const base::android::JavaParamRef<jobject>& obj, | 336 const base::android::JavaParamRef<jobject>& obj, |
| 337 jint level, | 337 jint level, |
| 338 jboolean visible); | 338 jboolean visible); |
| 339 void PostMessageToFrame( | 339 void PostMessageToFrame( |
| 340 JNIEnv* env, | 340 JNIEnv* env, |
| 341 const base::android::JavaParamRef<jobject>& obj, | 341 const base::android::JavaParamRef<jobject>& obj, |
| 342 const base::android::JavaParamRef<jstring>& frame_id, | 342 const base::android::JavaParamRef<jstring>& frame_id, |
| 343 const base::android::JavaParamRef<jstring>& message, | 343 const base::android::JavaParamRef<jstring>& message, |
| 344 const base::android::JavaParamRef<jstring>& target_origin, | 344 const base::android::JavaParamRef<jstring>& target_origin, |
| 345 const base::android::JavaParamRef<jintArray>& sent_ports); | 345 const base::android::JavaParamRef<jobjectArray>& ports); |
| 346 void CreateMessageChannel( | 346 void CreateMessageChannel( |
| 347 JNIEnv* env, | 347 JNIEnv* env, |
| 348 const base::android::JavaParamRef<jobject>& obj, | 348 const base::android::JavaParamRef<jobject>& obj, |
| 349 const base::android::JavaParamRef<jobjectArray>& ports); | 349 const base::android::JavaParamRef<jobjectArray>& ports); |
| 350 | 350 |
| 351 void GrantFileSchemeAccesstoChildProcess( | 351 void GrantFileSchemeAccesstoChildProcess( |
| 352 JNIEnv* env, | 352 JNIEnv* env, |
| 353 const base::android::JavaParamRef<jobject>& obj); | 353 const base::android::JavaParamRef<jobject>& obj); |
| 354 | 354 |
| 355 void ResumeLoadingCreatedPopupWebContents( | 355 void ResumeLoadingCreatedPopupWebContents( |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 bool renderer_priority_waived_when_not_visible_; | 415 bool renderer_priority_waived_when_not_visible_; |
| 416 | 416 |
| 417 DISALLOW_COPY_AND_ASSIGN(AwContents); | 417 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 418 }; | 418 }; |
| 419 | 419 |
| 420 bool RegisterAwContents(JNIEnv* env); | 420 bool RegisterAwContents(JNIEnv* env); |
| 421 | 421 |
| 422 } // namespace android_webview | 422 } // namespace android_webview |
| 423 | 423 |
| 424 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 424 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |