Searched refs:new_delegate (Results 1 – 8 of 8) sorted by relevance
112 TestDelegate* new_delegate = new TestDelegate(id); in CreateTestNotification() local114 *delegate = new_delegate; in CreateTestNotification()115 new_delegate->AddRef(); in CreateTestNotification()125 new_delegate); in CreateTestNotification()130 TestDelegate* new_delegate = new TestDelegate(id); in CreateRichTestNotification() local132 *delegate = new_delegate; in CreateRichTestNotification()133 new_delegate->AddRef(); in CreateRichTestNotification()150 new_delegate); in CreateRichTestNotification()
138 scoped_ptr<ChromeDownloadManagerDelegate> new_delegate) { in SetDownloadManagerDelegateForTesting() argument139 manager_delegate_.swap(new_delegate); in SetDownloadManagerDelegateForTesting()143 if (new_delegate) in SetDownloadManagerDelegateForTesting()144 new_delegate->Shutdown(); in SetDownloadManagerDelegateForTesting()
135 InfoBarDelegate* new_delegate) { in OpenUsingReader() argument151 if (new_delegate) { in OpenUsingReader()153 tab->ReplaceInfoBar(old_delegate, new_delegate); in OpenUsingReader()155 tab->AddInfoBar(new_delegate); in OpenUsingReader()
47 scoped_ptr<Delegate> new_delegate(delegate); in Initialize()58 delegate_.swap(new_delegate); in Initialize()
254 InfoBarDelegate* new_delegate = GetNewThemeInstalledInfoBarDelegate( in ShowThemeInfoBar() local258 tab_contents->ReplaceInfoBar(old_delegate, new_delegate); in ShowThemeInfoBar()260 tab_contents->AddInfoBar(new_delegate); in ShowThemeInfoBar()
123 with:(InfoBarDelegate*)new_delegate;
211 with:(InfoBarDelegate*)new_delegate {213 [self addInfoBar:new_delegate animate:NO];
515 InfoBarDelegate* new_delegate);