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 | 9 |
10 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 content::WebContents* web_contents); | 194 content::WebContents* web_contents); |
195 | 195 |
196 void UpdateTopControlsState(JNIEnv* env, | 196 void UpdateTopControlsState(JNIEnv* env, |
197 jobject obj, | 197 jobject obj, |
198 jint constraints, | 198 jint constraints, |
199 jint current, | 199 jint current, |
200 jboolean animate); | 200 jboolean animate); |
201 | 201 |
202 void LoadOriginalImage(JNIEnv* env, jobject obj); | 202 void LoadOriginalImage(JNIEnv* env, jobject obj); |
203 | 203 |
204 void SearchByImageInNewTabAsync(JNIEnv* env, jobject obj); | |
205 | |
206 jlong GetBookmarkId(JNIEnv* env, jobject obj, jboolean only_editable); | 204 jlong GetBookmarkId(JNIEnv* env, jobject obj, jboolean only_editable); |
207 | 205 |
208 jboolean HasOfflineCopy(JNIEnv* env, jobject obj); | 206 jboolean HasOfflineCopy(JNIEnv* env, jobject obj); |
209 | 207 |
210 jboolean IsOfflinePage(JNIEnv* env, jobject obj); | 208 jboolean IsOfflinePage(JNIEnv* env, jobject obj); |
211 | 209 |
212 base::android::ScopedJavaLocalRef<jstring> GetOfflinePageOriginalUrl( | 210 base::android::ScopedJavaLocalRef<jstring> GetOfflinePageOriginalUrl( |
213 JNIEnv* env, | 211 JNIEnv* env, |
214 jobject obj); | 212 jobject obj); |
215 | 213 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 scoped_ptr<content::WebContents> web_contents_; | 255 scoped_ptr<content::WebContents> web_contents_; |
258 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> | 256 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> |
259 web_contents_delegate_; | 257 web_contents_delegate_; |
260 | 258 |
261 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 259 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
262 | 260 |
263 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 261 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
264 }; | 262 }; |
265 | 263 |
266 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 264 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
OLD | NEW |