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

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

Issue 2362033002: Showing previews UI for Offline Previews (Closed)
Patch Set: megjablon comments rebase Created 4 years, 2 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 jlong GetBookmarkId(JNIEnv* env, 235 jlong GetBookmarkId(JNIEnv* env,
236 const base::android::JavaParamRef<jobject>& obj, 236 const base::android::JavaParamRef<jobject>& obj,
237 jboolean only_editable); 237 jboolean only_editable);
238 238
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 jboolean IsShowingOfflinePreview(
246 JNIEnv* env,
247 const base::android::JavaParamRef<jobject>& obj);
248
245 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage( 249 base::android::ScopedJavaLocalRef<jobject> GetOfflinePage(
246 JNIEnv* env, 250 JNIEnv* env,
247 const base::android::JavaParamRef<jobject>& obj); 251 const base::android::JavaParamRef<jobject>& obj);
248 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.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698