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

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

Issue 2014803002: Move DownloadControllerAndroid from content/ to chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed deprecated cookie apis Created 4 years, 6 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 // Methods called from Java via JNI ----------------------------------------- 158 // Methods called from Java via JNI -----------------------------------------
159 159
160 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 160 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
161 void InitWebContents( 161 void InitWebContents(
162 JNIEnv* env, 162 JNIEnv* env,
163 const base::android::JavaParamRef<jobject>& obj, 163 const base::android::JavaParamRef<jobject>& obj,
164 jboolean incognito, 164 jboolean incognito,
165 const base::android::JavaParamRef<jobject>& jcontent_view_core, 165 const base::android::JavaParamRef<jobject>& jcontent_view_core,
166 const base::android::JavaParamRef<jobject>& jweb_contents_delegate, 166 const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
167 const base::android::JavaParamRef<jobject>& jdownload_delegate,
167 const base::android::JavaParamRef<jobject>& jcontext_menu_populator); 168 const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
168 void UpdateDelegates( 169 void UpdateDelegates(
169 JNIEnv* env, 170 JNIEnv* env,
170 const base::android::JavaParamRef<jobject>& obj, 171 const base::android::JavaParamRef<jobject>& obj,
171 const base::android::JavaParamRef<jobject>& jweb_contents_delegate, 172 const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
172 const base::android::JavaParamRef<jobject>& jcontext_menu_populator); 173 const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
173 void DestroyWebContents(JNIEnv* env, 174 void DestroyWebContents(JNIEnv* env,
174 const base::android::JavaParamRef<jobject>& obj, 175 const base::android::JavaParamRef<jobject>& obj,
175 jboolean delete_native); 176 jboolean delete_native);
176 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid( 177 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid(
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 std::unique_ptr<content::WebContents> web_contents_; 283 std::unique_ptr<content::WebContents> web_contents_;
283 std::unique_ptr<chrome::android::TabWebContentsDelegateAndroid> 284 std::unique_ptr<chrome::android::TabWebContentsDelegateAndroid>
284 web_contents_delegate_; 285 web_contents_delegate_;
285 286
286 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 287 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
287 288
288 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 289 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
289 }; 290 };
290 291
291 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 292 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698