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