Home | History | Annotate | Download | only in instant

Lines Matching refs:tab

33     TabContentsWrapper* tab = tab_contents_.release();
34 tab->tab_contents()->set_delegate(NULL);
35 return tab;
55 // virtual). When we're attemping to close the tab, none of this matters.
77 // The index |tab_contents_| was originally at. If we add the tab back we add
91 void InstantUnloadHandler::RunUnloadListenersOrDestroy(TabContentsWrapper* tab,
93 if (!tab->tab_contents()->NeedToFireBeforeUnload()) {
94 // Tab doesn't have any before unload listeners and can be safely deleted.
95 delete tab;
99 // Tab has before unload listener. Install a delegate and fire the before
102 new TabContentsDelegateImpl(this, tab, index);
104 // TODO: decide if we really want false here. false is used for tab closes,
105 // and is needed so that the tab correctly closes but it doesn't really match
107 tab->tab_contents()->render_view_host()->FirePageBeforeUnload(false);
112 TabContentsWrapper* tab = delegate->ReleaseTab();
113 browser::NavigateParams params(browser_, tab);
124 // Add the tab back in.