Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: chrome/browser/android/tab_android.h

Issue 2337363002: Load live version when reloading an offline page on connected network (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 jboolean HasOfflineCopy(JNIEnv* env, 245 jboolean HasOfflineCopy(JNIEnv* env,
246 const base::android::JavaParamRef<jobject>& obj); 246 const base::android::JavaParamRef<jobject>& obj);
247 247
248 jboolean IsOfflinePage(JNIEnv* env, 248 jboolean IsOfflinePage(JNIEnv* env,
249 const base::android::JavaParamRef<jobject>& obj); 249 const base::android::JavaParamRef<jobject>& obj);
250 250
251 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage( 251 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage(
252 JNIEnv* env, 252 JNIEnv* env,
253 const base::android::JavaParamRef<jobject>& obj); 253 const base::android::JavaParamRef<jobject>& obj);
254 254
255 base::android::ScopedJavaLocalRef<jstring> GetOfflinePageHeaderForReload(
256 JNIEnv* env,
257 const base::android::JavaParamRef<jobject>& obj);
258
255 void SetInterceptNavigationDelegate( 259 void SetInterceptNavigationDelegate(
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>& delegate); 262 const base::android::JavaParamRef<jobject>& delegate);
259 263
260 // TODO(dtrainor): Remove this, pull content_layer() on demand. 264 // TODO(dtrainor): Remove this, pull content_layer() on demand.
261 void AttachToTabContentManager( 265 void AttachToTabContentManager(
262 JNIEnv* env, 266 JNIEnv* env,
263 const base::android::JavaParamRef<jobject>& obj, 267 const base::android::JavaParamRef<jobject>& obj,
264 const base::android::JavaParamRef<jobject>& jtab_content_manager); 268 const base::android::JavaParamRef<jobject>& jtab_content_manager);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 web_contents_delegate_; 306 web_contents_delegate_;
303 307
304 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; 308 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_;
305 309
306 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 310 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
307 311
308 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 312 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
309 }; 313 };
310 314
311 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 315 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698