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

Unified Diff: chrome/browser/tab_contents/test_tab_contents.h

Issue 4767001: Make TabContents own its infobar delegates.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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: chrome/browser/tab_contents/test_tab_contents.h
===================================================================
--- chrome/browser/tab_contents/test_tab_contents.h (revision 65711)
+++ chrome/browser/tab_contents/test_tab_contents.h (working copy)
@@ -31,13 +31,6 @@
// alternatives without using command-line switches.
bool ShouldTransitionCrossSite() { return transition_cross_site; }
- // Overrides TabContents::Observe. We are listening to infobar related
- // notifications so we can call InfoBarClosed() on the infobar delegates to
- // prevent them from leaking.
- virtual void Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
// Promote DidNavigate to public.
void TestDidNavigate(RenderViewHost* render_view_host,
const ViewHostMsg_FrameNavigate_Params& params) {
@@ -73,8 +66,6 @@
// Set by individual tests.
bool transition_cross_site;
-
- NotificationRegistrar registrar_;
};
#endif // CHROME_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_

Powered by Google App Engine
This is Rietveld 408576698