| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 void TrimMemory(JNIEnv* env, | 312 void TrimMemory(JNIEnv* env, |
| 313 const base::android::JavaParamRef<jobject>& obj, | 313 const base::android::JavaParamRef<jobject>& obj, |
| 314 jint level, | 314 jint level, |
| 315 jboolean visible); | 315 jboolean visible); |
| 316 void PostMessageToFrame( | 316 void PostMessageToFrame( |
| 317 JNIEnv* env, | 317 JNIEnv* env, |
| 318 const base::android::JavaParamRef<jobject>& obj, | 318 const base::android::JavaParamRef<jobject>& obj, |
| 319 const base::android::JavaParamRef<jstring>& frame_id, | 319 const base::android::JavaParamRef<jstring>& frame_id, |
| 320 const base::android::JavaParamRef<jstring>& message, | 320 const base::android::JavaParamRef<jstring>& message, |
| 321 const base::android::JavaParamRef<jstring>& target_origin, | 321 const base::android::JavaParamRef<jstring>& target_origin, |
| 322 const base::android::JavaParamRef<jintArray>& sent_ports); | 322 const base::android::JavaParamRef<jobjectArray>& ports); |
| 323 void CreateMessageChannel( | 323 void CreateMessageChannel( |
| 324 JNIEnv* env, | 324 JNIEnv* env, |
| 325 const base::android::JavaParamRef<jobject>& obj, | 325 const base::android::JavaParamRef<jobject>& obj, |
| 326 const base::android::JavaParamRef<jobjectArray>& ports); | 326 const base::android::JavaParamRef<jobjectArray>& ports); |
| 327 | 327 |
| 328 void GrantFileSchemeAccesstoChildProcess( | 328 void GrantFileSchemeAccesstoChildProcess( |
| 329 JNIEnv* env, | 329 JNIEnv* env, |
| 330 const base::android::JavaParamRef<jobject>& obj); | 330 const base::android::JavaParamRef<jobject>& obj); |
| 331 | 331 |
| 332 void ResumeLoadingCreatedPopupWebContents( | 332 void ResumeLoadingCreatedPopupWebContents( |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 GLViewRendererManager::Key renderer_manager_key_; | 376 GLViewRendererManager::Key renderer_manager_key_; |
| 377 | 377 |
| 378 DISALLOW_COPY_AND_ASSIGN(AwContents); | 378 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 379 }; | 379 }; |
| 380 | 380 |
| 381 bool RegisterAwContents(JNIEnv* env); | 381 bool RegisterAwContents(JNIEnv* env); |
| 382 | 382 |
| 383 } // namespace android_webview | 383 } // namespace android_webview |
| 384 | 384 |
| 385 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 385 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |