| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 jboolean HasOfflineCopy(JNIEnv* env, | 239 jboolean HasOfflineCopy(JNIEnv* env, |
| 240 const base::android::JavaParamRef<jobject>& obj); | 240 const base::android::JavaParamRef<jobject>& obj); |
| 241 | 241 |
| 242 jboolean IsOfflinePage(JNIEnv* env, | 242 jboolean IsOfflinePage(JNIEnv* env, |
| 243 const base::android::JavaParamRef<jobject>& obj); | 243 const base::android::JavaParamRef<jobject>& obj); |
| 244 | 244 |
| 245 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage( | 245 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage( |
| 246 JNIEnv* env, | 246 JNIEnv* env, |
| 247 const base::android::JavaParamRef<jobject>& obj); | 247 const base::android::JavaParamRef<jobject>& obj); |
| 248 | 248 |
| 249 base::android::ScopedJavaLocalRef<jstring> GetOfflinePageHeaderForReload( |
| 250 JNIEnv* env, |
| 251 const base::android::JavaParamRef<jobject>& obj); |
| 252 |
| 249 void SetInterceptNavigationDelegate( | 253 void SetInterceptNavigationDelegate( |
| 250 JNIEnv* env, | 254 JNIEnv* env, |
| 251 const base::android::JavaParamRef<jobject>& obj, | 255 const base::android::JavaParamRef<jobject>& obj, |
| 252 const base::android::JavaParamRef<jobject>& delegate); | 256 const base::android::JavaParamRef<jobject>& delegate); |
| 253 | 257 |
| 254 // TODO(dtrainor): Remove this, pull content_layer() on demand. | 258 // TODO(dtrainor): Remove this, pull content_layer() on demand. |
| 255 void AttachToTabContentManager( | 259 void AttachToTabContentManager( |
| 256 JNIEnv* env, | 260 JNIEnv* env, |
| 257 const base::android::JavaParamRef<jobject>& obj, | 261 const base::android::JavaParamRef<jobject>& obj, |
| 258 const base::android::JavaParamRef<jobject>& jtab_content_manager); | 262 const base::android::JavaParamRef<jobject>& jtab_content_manager); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 web_contents_delegate_; | 300 web_contents_delegate_; |
| 297 | 301 |
| 298 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; | 302 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; |
| 299 | 303 |
| 300 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 304 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
| 301 | 305 |
| 302 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 306 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
| 303 }; | 307 }; |
| 304 | 308 |
| 305 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 309 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
| OLD | NEW |