OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 void SelectPopupMenuItems(JNIEnv* env, jobject obj, jintArray indices); | 75 void SelectPopupMenuItems(JNIEnv* env, jobject obj, jintArray indices); |
76 | 76 |
77 void LoadUrl( | 77 void LoadUrl( |
78 JNIEnv* env, jobject obj, | 78 JNIEnv* env, jobject obj, |
79 jstring url, | 79 jstring url, |
80 jint load_url_type, | 80 jint load_url_type, |
81 jint transition_type, | 81 jint transition_type, |
82 jint ua_override_option, | 82 jint ua_override_option, |
83 jstring extra_headers, | 83 jstring extra_headers, |
84 jbyteArray post_data, | 84 jbyteArray post_data, |
| 85 jstring data_for_data_url, |
85 jstring base_url_for_data_url, | 86 jstring base_url_for_data_url, |
86 jstring virtual_url_for_data_url, | 87 jstring virtual_url_for_data_url, |
87 jboolean can_load_local_resources); | 88 jboolean can_load_local_resources); |
88 base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const; | 89 base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const; |
89 base::android::ScopedJavaLocalRef<jstring> GetTitle( | 90 base::android::ScopedJavaLocalRef<jstring> GetTitle( |
90 JNIEnv* env, jobject obj) const; | 91 JNIEnv* env, jobject obj) const; |
91 jboolean IsIncognito(JNIEnv* env, jobject obj); | 92 jboolean IsIncognito(JNIEnv* env, jobject obj); |
92 void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation); | 93 void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation); |
93 jboolean SendTouchEvent(JNIEnv* env, | 94 jboolean SendTouchEvent(JNIEnv* env, |
94 jobject obj, | 95 jobject obj, |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 int device_orientation_; | 385 int device_orientation_; |
385 | 386 |
386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 387 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
387 }; | 388 }; |
388 | 389 |
389 bool RegisterContentViewCore(JNIEnv* env); | 390 bool RegisterContentViewCore(JNIEnv* env); |
390 | 391 |
391 } // namespace content | 392 } // namespace content |
392 | 393 |
393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 394 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |