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); | |
346 void CreateMessageChannel( | |
347 JNIEnv* env, | |
348 const base::android::JavaParamRef<jobject>& obj, | |
349 const base::android::JavaParamRef<jobjectArray>& ports); | 345 const base::android::JavaParamRef<jobjectArray>& ports); |
350 | 346 |
351 void GrantFileSchemeAccesstoChildProcess( | 347 void GrantFileSchemeAccesstoChildProcess( |
352 JNIEnv* env, | 348 JNIEnv* env, |
353 const base::android::JavaParamRef<jobject>& obj); | 349 const base::android::JavaParamRef<jobject>& obj); |
354 | 350 |
355 void ResumeLoadingCreatedPopupWebContents( | 351 void ResumeLoadingCreatedPopupWebContents( |
356 JNIEnv* env, | 352 JNIEnv* env, |
357 const base::android::JavaParamRef<jobject>& obj); | 353 const base::android::JavaParamRef<jobject>& obj); |
358 | 354 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 bool renderer_priority_waived_when_not_visible_; | 411 bool renderer_priority_waived_when_not_visible_; |
416 | 412 |
417 DISALLOW_COPY_AND_ASSIGN(AwContents); | 413 DISALLOW_COPY_AND_ASSIGN(AwContents); |
418 }; | 414 }; |
419 | 415 |
420 bool RegisterAwContents(JNIEnv* env); | 416 bool RegisterAwContents(JNIEnv* env); |
421 | 417 |
422 } // namespace android_webview | 418 } // namespace android_webview |
423 | 419 |
424 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 420 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |