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

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

Issue 1731673002: Add tab reparenting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // Methods called from Java via JNI ----------------------------------------- 159 // Methods called from Java via JNI -----------------------------------------
160 160
161 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 161 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
162 void InitWebContents( 162 void InitWebContents(
163 JNIEnv* env, 163 JNIEnv* env,
164 const base::android::JavaParamRef<jobject>& obj, 164 const base::android::JavaParamRef<jobject>& obj,
165 jboolean incognito, 165 jboolean incognito,
166 const base::android::JavaParamRef<jobject>& jcontent_view_core, 166 const base::android::JavaParamRef<jobject>& jcontent_view_core,
167 const base::android::JavaParamRef<jobject>& jweb_contents_delegate, 167 const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
168 const base::android::JavaParamRef<jobject>& jcontext_menu_populator); 168 const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
169 void UpdateDelegates(
170 JNIEnv* env,
171 const base::android::JavaParamRef<jobject>& obj,
172 const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
173 const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
169 void DestroyWebContents(JNIEnv* env, 174 void DestroyWebContents(JNIEnv* env,
170 const base::android::JavaParamRef<jobject>& obj, 175 const base::android::JavaParamRef<jobject>& obj,
171 jboolean delete_native); 176 jboolean delete_native);
172 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid( 177 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid(
173 JNIEnv* env, 178 JNIEnv* env,
174 const base::android::JavaParamRef<jobject>& obj); 179 const base::android::JavaParamRef<jobject>& obj);
175 TabLoadStatus LoadUrl( 180 TabLoadStatus LoadUrl(
176 JNIEnv* env, 181 JNIEnv* env,
177 const base::android::JavaParamRef<jobject>& obj, 182 const base::android::JavaParamRef<jobject>& obj,
178 const base::android::JavaParamRef<jstring>& url, 183 const base::android::JavaParamRef<jstring>& url,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 scoped_ptr<content::WebContents> web_contents_; 285 scoped_ptr<content::WebContents> web_contents_;
281 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> 286 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid>
282 web_contents_delegate_; 287 web_contents_delegate_;
283 288
284 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 289 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
285 290
286 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 291 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
287 }; 292 };
288 293
289 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 294 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698