Index: chrome/browser/tab_contents/background_contents.cc |
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc |
index fb6db00beeb1cea8af1160447654468699c30148..b856729735b426879dfbfa4ed8593cce2d403f0e 100644 |
--- a/chrome/browser/tab_contents/background_contents.cc |
+++ b/chrome/browser/tab_contents/background_contents.cc |
@@ -93,6 +93,16 @@ void BackgroundContents::DidNavigateMainFramePostCommit(TabContents* tab) { |
content::Details<BackgroundContents>(this)); |
} |
+// Forward requests to add a new TabContents to our delegate. |
+void BackgroundContents::AddNewContents(TabContents* source, |
+ TabContents* new_contents, |
+ WindowOpenDisposition disposition, |
+ const gfx::Rect& initial_pos, |
+ bool user_gesture) { |
+ delegate_->AddTabContents( |
+ new_contents, disposition, initial_pos, user_gesture); |
+} |
+ |
void BackgroundContents::RenderViewGone(base::TerminationStatus status) { |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_BACKGROUND_CONTENTS_TERMINATED, |