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 cdc023d050f4d8ba3d10898ad48505f7063e9061..44bdae8191a8a4668749b32d879e05dab38992aa 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -1505,6 +1505,12 @@ int TabContents::GetZoomPercent(bool* enable_increment, |
return percent; |
} |
+void TabContents::ViewSource() |
+{ |
+ if (delegate_) |
+ delegate_->ViewSourceForTab(this); |
+} |
+ |
// Notifies the RenderWidgetHost instance about the fact that the page is |
// loading, or done loading and calls the base implementation. |
void TabContents::SetIsLoading(bool is_loading, |