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