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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 base::android::ScopedJavaLocalRef<jobject> GetFavicon( | 214 base::android::ScopedJavaLocalRef<jobject> GetFavicon( |
215 JNIEnv* env, | 215 JNIEnv* env, |
216 const base::android::JavaParamRef<jobject>& obj); | 216 const base::android::JavaParamRef<jobject>& obj); |
217 | 217 |
218 void CreateHistoricalTab(JNIEnv* env, | 218 void CreateHistoricalTab(JNIEnv* env, |
219 const base::android::JavaParamRef<jobject>& obj); | 219 const base::android::JavaParamRef<jobject>& obj); |
220 | 220 |
221 static void CreateHistoricalTabFromContents( | 221 static void CreateHistoricalTabFromContents( |
222 content::WebContents* web_contents); | 222 content::WebContents* web_contents); |
223 | 223 |
224 void UpdateTopControlsState(JNIEnv* env, | 224 void UpdateBrowserControlsState( |
225 const base::android::JavaParamRef<jobject>& obj, | 225 JNIEnv* env, |
226 jint constraints, | 226 const base::android::JavaParamRef<jobject>& obj, |
227 jint current, | 227 jint constraints, |
228 jboolean animate); | 228 jint current, |
| 229 jboolean animate); |
229 | 230 |
230 void LoadOriginalImage(JNIEnv* env, | 231 void LoadOriginalImage(JNIEnv* env, |
231 const base::android::JavaParamRef<jobject>& obj); | 232 const base::android::JavaParamRef<jobject>& obj); |
232 | 233 |
233 jlong GetBookmarkId(JNIEnv* env, | 234 jlong GetBookmarkId(JNIEnv* env, |
234 const base::android::JavaParamRef<jobject>& obj, | 235 const base::android::JavaParamRef<jobject>& obj, |
235 jboolean only_editable); | 236 jboolean only_editable); |
236 | 237 |
237 jboolean HasOfflineCopy(JNIEnv* env, | 238 jboolean HasOfflineCopy(JNIEnv* env, |
238 const base::android::JavaParamRef<jobject>& obj); | 239 const base::android::JavaParamRef<jobject>& obj); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 web_contents_delegate_; | 284 web_contents_delegate_; |
284 | 285 |
285 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; | 286 std::unique_ptr<blimp::client::BlimpContents> blimp_contents_; |
286 | 287 |
287 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 288 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
288 | 289 |
289 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 290 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
290 }; | 291 }; |
291 | 292 |
292 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 293 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
OLD | NEW |