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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 jstring url, | 81 jstring url, |
82 jint load_url_type, | 82 jint load_url_type, |
83 jint transition_type, | 83 jint transition_type, |
84 jstring j_referrer_url, | 84 jstring j_referrer_url, |
85 jint referrer_policy, | 85 jint referrer_policy, |
86 jint ua_override_option, | 86 jint ua_override_option, |
87 jstring extra_headers, | 87 jstring extra_headers, |
88 jbyteArray post_data, | 88 jbyteArray post_data, |
89 jstring base_url_for_data_url, | 89 jstring base_url_for_data_url, |
90 jstring virtual_url_for_data_url, | 90 jstring virtual_url_for_data_url, |
91 jboolean can_load_local_resources); | 91 jboolean can_load_local_resources, |
| 92 jboolean is_renderer_initiated); |
92 base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const; | 93 base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const; |
93 jboolean IsIncognito(JNIEnv* env, jobject obj); | 94 jboolean IsIncognito(JNIEnv* env, jobject obj); |
94 void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation); | 95 void SendOrientationChangeEvent(JNIEnv* env, jobject obj, jint orientation); |
95 jboolean OnTouchEvent(JNIEnv* env, | 96 jboolean OnTouchEvent(JNIEnv* env, |
96 jobject obj, | 97 jobject obj, |
97 jobject motion_event, | 98 jobject motion_event, |
98 jlong time_ms, | 99 jlong time_ms, |
99 jint android_action, | 100 jint android_action, |
100 jint pointer_count, | 101 jint pointer_count, |
101 jint history_size, | 102 jint history_size, |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 java_bridge_dispatcher_host_manager_; | 374 java_bridge_dispatcher_host_manager_; |
374 | 375 |
375 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 376 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
376 }; | 377 }; |
377 | 378 |
378 bool RegisterContentViewCore(JNIEnv* env); | 379 bool RegisterContentViewCore(JNIEnv* env); |
379 | 380 |
380 } // namespace content | 381 } // namespace content |
381 | 382 |
382 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 383 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |