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

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

Issue 2362033002: Showing previews UI for Offline Previews (Closed)
Patch Set: Simplified Offline Pages Created 4 years, 1 month 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 jlong GetBookmarkId(JNIEnv* env, 233 jlong GetBookmarkId(JNIEnv* env,
234 const base::android::JavaParamRef<jobject>& obj, 234 const base::android::JavaParamRef<jobject>& obj,
235 jboolean only_editable); 235 jboolean only_editable);
236 236
237 jboolean HasOfflineCopy(JNIEnv* env, 237 jboolean HasOfflineCopy(JNIEnv* env,
238 const base::android::JavaParamRef<jobject>& obj); 238 const base::android::JavaParamRef<jobject>& obj);
239 239
240 jboolean IsOfflinePage(JNIEnv* env, 240 jboolean IsOfflinePage(JNIEnv* env,
241 const base::android::JavaParamRef<jobject>& obj); 241 const base::android::JavaParamRef<jobject>& obj);
242 242
243 jboolean IsShowingOfflinePreview(
244 JNIEnv* env,
245 const base::android::JavaParamRef<jobject>& obj);
246
243 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage( 247 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage(
244 JNIEnv* env, 248 JNIEnv* env,
245 const base::android::JavaParamRef<jobject>& obj); 249 const base::android::JavaParamRef<jobject>& obj);
246 250
247 void SetInterceptNavigationDelegate( 251 void SetInterceptNavigationDelegate(
248 JNIEnv* env, 252 JNIEnv* env,
249 const base::android::JavaParamRef<jobject>& obj, 253 const base::android::JavaParamRef<jobject>& obj,
250 const base::android::JavaParamRef<jobject>& delegate); 254 const base::android::JavaParamRef<jobject>& delegate);
251 255
252 // TODO(dtrainor): Remove this, pull content_layer() on demand. 256 // TODO(dtrainor): Remove this, pull content_layer() on demand.
(...skipping 30 matching lines...) Expand all
283 web_contents_delegate_; 287 web_contents_delegate_;
284 288
285 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; 289 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_;
286 290
287 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 291 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
288 292
289 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 293 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
290 }; 294 };
291 295
292 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 296 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698