Lines Matching defs:old_contents
285 void FullscreenController::OnTabDetachedFromView(WebContents* old_contents) {
286 if (!IsFullscreenForCapturedTab(old_contents))
293 // When the user later selects the tab to show |old_contents| again, UI code
300 if (!old_contents->GetDelegate())
305 if (old_contents->GetCapturerCount() == 0 ||
306 old_contents->GetPreferredSize().IsEmpty()) {
311 old_contents->GetFullscreenRenderWidgetHostView();
313 current_fs_view->SetSize(old_contents->GetPreferredSize());
314 ResizeWebContents(old_contents, old_contents->GetPreferredSize());