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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 JNIEnv* env, | 221 JNIEnv* env, |
222 const base::android::JavaParamRef<jobject>& obj, | 222 const base::android::JavaParamRef<jobject>& obj, |
223 const base::android::JavaParamRef<jobject>& delegate); | 223 const base::android::JavaParamRef<jobject>& delegate); |
224 | 224 |
225 // TODO(dtrainor): Remove this, pull content_layer() on demand. | 225 // TODO(dtrainor): Remove this, pull content_layer() on demand. |
226 void AttachToTabContentManager( | 226 void AttachToTabContentManager( |
227 JNIEnv* env, | 227 JNIEnv* env, |
228 const base::android::JavaParamRef<jobject>& obj, | 228 const base::android::JavaParamRef<jobject>& obj, |
229 const base::android::JavaParamRef<jobject>& jtab_content_manager); | 229 const base::android::JavaParamRef<jobject>& jtab_content_manager); |
230 | 230 |
| 231 void ClearThumbnailPlaceholder( |
| 232 JNIEnv* env, |
| 233 const base::android::JavaParamRef<jobject>& obj); |
| 234 |
231 bool HasPrerenderedUrl(JNIEnv* env, | 235 bool HasPrerenderedUrl(JNIEnv* env, |
232 const base::android::JavaParamRef<jobject>& obj, | 236 const base::android::JavaParamRef<jobject>& obj, |
233 const base::android::JavaParamRef<jstring>& url); | 237 const base::android::JavaParamRef<jstring>& url); |
234 | 238 |
235 void SetWebappManifestScope( | 239 void SetWebappManifestScope( |
236 JNIEnv* env, | 240 JNIEnv* env, |
237 const base::android::JavaParamRef<jobject>& obj, | 241 const base::android::JavaParamRef<jobject>& obj, |
238 const base::android::JavaParamRef<jstring>& scope); | 242 const base::android::JavaParamRef<jstring>& scope); |
239 | 243 |
240 const std::string& GetWebappManifestScope() const { | 244 const std::string& GetWebappManifestScope() const { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 scoped_refptr<content::DevToolsAgentHost> devtools_host_; | 284 scoped_refptr<content::DevToolsAgentHost> devtools_host_; |
281 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 285 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
282 | 286 |
283 std::string webapp_manifest_scope_; | 287 std::string webapp_manifest_scope_; |
284 bool embedded_media_experience_enabled_; | 288 bool embedded_media_experience_enabled_; |
285 | 289 |
286 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 290 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
287 }; | 291 }; |
288 | 292 |
289 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 293 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
OLD | NEW |