| 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 CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 jobject obj); | 132 jobject obj); |
| 133 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid(JNIEnv* env, | 133 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid(JNIEnv* env, |
| 134 jobject obj); | 134 jobject obj); |
| 135 virtual TabLoadStatus LoadUrl(JNIEnv* env, | 135 virtual TabLoadStatus LoadUrl(JNIEnv* env, |
| 136 jobject obj, | 136 jobject obj, |
| 137 jstring url, | 137 jstring url, |
| 138 jstring j_extra_headers, | 138 jstring j_extra_headers, |
| 139 jbyteArray j_post_data, | 139 jbyteArray j_post_data, |
| 140 jint page_transition, | 140 jint page_transition, |
| 141 jstring j_referrer_url, | 141 jstring j_referrer_url, |
| 142 jint referrer_policy); | 142 jint referrer_policy, |
| 143 jboolean is_renderer_initiated); |
| 143 ToolbarModel::SecurityLevel GetSecurityLevel(JNIEnv* env, jobject obj); | 144 ToolbarModel::SecurityLevel GetSecurityLevel(JNIEnv* env, jobject obj); |
| 144 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env, | 145 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env, |
| 145 jobject obj, | 146 jobject obj, |
| 146 jstring jurl, | 147 jstring jurl, |
| 147 jstring jtitle); | 148 jstring jtitle); |
| 148 bool Print(JNIEnv* env, jobject obj); | 149 bool Print(JNIEnv* env, jobject obj); |
| 149 | 150 |
| 150 // Register the Tab's native methods through JNI. | 151 // Register the Tab's native methods through JNI. |
| 151 static bool RegisterTabAndroid(JNIEnv* env); | 152 static bool RegisterTabAndroid(JNIEnv* env); |
| 152 | 153 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 166 scoped_ptr<content::WebContents> web_contents_; | 167 scoped_ptr<content::WebContents> web_contents_; |
| 167 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid> | 168 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid> |
| 168 web_contents_delegate_; | 169 web_contents_delegate_; |
| 169 | 170 |
| 170 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 171 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
| 171 | 172 |
| 172 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 173 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 176 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| OLD | NEW |