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