Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index d12434cbfed1a1725ffdeb6a779c7e700e8ea362..a9e5524462ce62d97c07f354dcd010174738983b 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -815,6 +815,11 @@ void TabContents::Activate() { |
delegate_->ActivateContents(this); |
} |
+void TabContents::Deactivate() { |
+ if (delegate_) |
+ delegate_->DeactivateContents(this); |
+} |
+ |
void TabContents::ShowContents() { |
RenderWidgetHostView* rwhv = GetRenderWidgetHostView(); |
if (rwhv) |