| 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 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 jint referrer_policy, | 205 jint referrer_policy, |
| 206 jboolean is_renderer_initiated, | 206 jboolean is_renderer_initiated, |
| 207 jboolean should_replace_current_entry, | 207 jboolean should_replace_current_entry, |
| 208 jlong intent_received_timestamp, | 208 jlong intent_received_timestamp, |
| 209 jboolean has_user_gesture); | 209 jboolean has_user_gesture); |
| 210 void SetActiveNavigationEntryTitleForUrl( | 210 void SetActiveNavigationEntryTitleForUrl( |
| 211 JNIEnv* env, | 211 JNIEnv* env, |
| 212 const base::android::JavaParamRef<jobject>& obj, | 212 const base::android::JavaParamRef<jobject>& obj, |
| 213 const base::android::JavaParamRef<jstring>& jurl, | 213 const base::android::JavaParamRef<jstring>& jurl, |
| 214 const base::android::JavaParamRef<jstring>& jtitle); | 214 const base::android::JavaParamRef<jstring>& jtitle); |
| 215 void SetLastCommittedNavigationEntryExtraData( |
| 216 JNIEnv* env, |
| 217 const base::android::JavaParamRef<jobject>& obj, |
| 218 const base::android::JavaParamRef<jstring>& jkey, |
| 219 const base::android::JavaParamRef<jstring>& jvalue); |
| 215 bool Print(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); | 220 bool Print(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); |
| 216 | 221 |
| 217 // Sets the tab as content to be printed through JNI. | 222 // Sets the tab as content to be printed through JNI. |
| 218 void SetPendingPrint(); | 223 void SetPendingPrint(); |
| 219 | 224 |
| 220 // Called to get default favicon of current tab, return null if no | 225 // Called to get default favicon of current tab, return null if no |
| 221 // favicon is avaliable for current tab. | 226 // favicon is avaliable for current tab. |
| 222 base::android::ScopedJavaLocalRef<jobject> GetFavicon( | 227 base::android::ScopedJavaLocalRef<jobject> GetFavicon( |
| 223 JNIEnv* env, | 228 JNIEnv* env, |
| 224 const base::android::JavaParamRef<jobject>& obj); | 229 const base::android::JavaParamRef<jobject>& obj); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 web_contents_delegate_; | 307 web_contents_delegate_; |
| 303 | 308 |
| 304 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; | 309 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; |
| 305 | 310 |
| 306 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 311 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
| 307 | 312 |
| 308 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 313 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
| 309 }; | 314 }; |
| 310 | 315 |
| 311 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 316 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| OLD | NEW |