Lines Matching defs:target_contents

95   if (params->target_contents != NULL ||
257 void LoadURLInContents(WebContents* target_contents,
284 target_contents->GetController().LoadURLWithParams(load_url_params);
311 // avoid a leak and the params->target_contents field is set to NULL.
319 params_->target_contents = NULL;
322 // Assumes ownership of |params_|' target_contents until ReleaseOwnership
325 target_contents_owner_.reset(params_->target_contents);
328 // Relinquishes ownership of |params_|' target_contents.
361 WebContents* target_contents = WebContents::Create(create_params);
366 BrowserNavigatorWebContentsAdoption::AttachTabHelpers(target_contents);
367 extensions::TabHelper::FromWebContents(target_contents)->
369 return target_contents;
373 // |params->target_contents| with it and update to point to the swapped-in
377 Profile::FromBrowserContext(params->target_contents->GetBrowserContext());
405 target_contents(NULL),
428 target_contents(a_target_contents),
453 target_contents(NULL),
600 if (!params->target_contents && singleton_index < 0) {
603 params->target_contents = CreateTargetContents(*params, params->url);
605 // This function takes ownership of |params->target_contents| until it
612 params->target_contents = params->source_contents;
616 // |params->target_contents| has not been attached to a Browser yet. (That
620 DCHECK(params->target_contents);
624 params->target_contents->UserGestureDone();
633 LoadURLInContents(params->target_contents, params->url, params);
637 params->target_contents->GetController().GetPendingEntry();
644 // |target_contents| was specified non-NULL, and so we assume it has already
658 if (params->source_contents == params->target_contents ||
661 params->browser->UpdateUIForNavigationInTab(params->target_contents,
672 params->target_contents,
676 // Now that the |params->target_contents| is safely owned by the target
700 if (params->source_contents != params->target_contents) {
710 content::Details<WebContents>(params->target_contents));