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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

Issue 2894973002: Provide WebContents::CreateParams to tab helpers. (Closed)
Patch Set: rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index 0a31742d35581a539552a32c393fd65485dc30ed..731e90068e1faca78a80dca4b0f4d8d228fa8114 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -219,7 +219,8 @@ void WebContentsDelegateAndroid::WebContentsCreated(
int opener_render_frame_id,
const std::string& frame_name,
const GURL& target_url,
- WebContents* new_contents) {
+ WebContents* new_contents,
+ const base::Optional<content::WebContents::CreateParams>& create_params) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env);
if (obj.is_null())

Powered by Google App Engine
This is Rietveld 408576698