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

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

Issue 1232123009: customtabs: Pre-create a renderer in mayLaunchUrl(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 4 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 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 jobject obj); 156 jobject obj);
157 TabLoadStatus LoadUrl(JNIEnv* env, 157 TabLoadStatus LoadUrl(JNIEnv* env,
158 jobject obj, 158 jobject obj,
159 jstring url, 159 jstring url,
160 jstring j_extra_headers, 160 jstring j_extra_headers,
161 jbyteArray j_post_data, 161 jbyteArray j_post_data,
162 jint page_transition, 162 jint page_transition,
163 jstring j_referrer_url, 163 jstring j_referrer_url,
164 jint referrer_policy, 164 jint referrer_policy,
165 jboolean is_renderer_initiated, 165 jboolean is_renderer_initiated,
166 jboolean should_replace_current_entry,
166 jlong intent_received_timestamp, 167 jlong intent_received_timestamp,
167 jboolean has_user_gesture); 168 jboolean has_user_gesture);
168 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env, 169 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env,
169 jobject obj, 170 jobject obj,
170 jstring jurl, 171 jstring jurl,
171 jstring jtitle); 172 jstring jtitle);
172 bool Print(JNIEnv* env, jobject obj); 173 bool Print(JNIEnv* env, jobject obj);
173 174
174 // Sets the tab as content to be printed through JNI. 175 // Sets the tab as content to be printed through JNI.
175 void SetPendingPrint(); 176 void SetPendingPrint();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 scoped_ptr<content::WebContents> web_contents_; 239 scoped_ptr<content::WebContents> web_contents_;
239 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid> 240 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid>
240 web_contents_delegate_; 241 web_contents_delegate_;
241 242
242 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 243 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
243 244
244 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 245 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
245 }; 246 };
246 247
247 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 248 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698