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 72cca16e39e4fcde4b4693c6bf7b6aff0a1c4167..062f9dc796d10c5dc7c09b849945ff85a62ec5cd 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -1776,12 +1776,19 @@ TabContents* TabContents::GetAsTabContents() { |
return this; |
} |
+ViewType::Type TabContents::GetRenderViewType() const { |
+ return ViewType::TAB_CONTENTS; |
+} |
+ |
+int TabContents::GetBrowserWindowID() const { |
+ return controller().window_id().id(); |
+} |
+ |
void TabContents::RenderViewCreated(RenderViewHost* render_view_host) { |
NotificationService::current()->Notify( |
NotificationType::RENDER_VIEW_HOST_CREATED_FOR_TAB, |
Source<TabContents>(this), |
Details<RenderViewHost>(render_view_host)); |
- |
NavigationEntry* entry = controller_.GetActiveEntry(); |
if (!entry) |
return; |