| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 26649)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -451,7 +451,15 @@
|
| NavigationEntry* entry = controller_.GetActiveEntry();
|
| return entry ? entry->virtual_url() : GURL::EmptyGURL();
|
| }
|
| +void TabContents::NotifyRenderViewHostSwitchedFromRenderManager(
|
| + RenderViewHostSwitchedDetails*details) {
|
|
|
| + NotificationService::current()->Notify(
|
| + NotificationType::RENDER_VIEW_HOST_CHANGED,
|
| + Source<NavigationController>(
|
| + &controller_),
|
| + Details<RenderViewHostSwitchedDetails>(details));
|
| +}
|
| const string16& TabContents::GetTitle() const {
|
| // Transient entries take precedence. They are used for interstitial pages
|
| // that are shown on top of existing pages.
|
| @@ -2033,6 +2041,10 @@
|
| NotifyNavigationStateChanged(INVALIDATE_TAB);
|
| }
|
|
|
| +NavigationEntry*TabContents::GetEntryAtOffsetForRenderManager(int offset) {
|
| + return controller_.GetEntryAtOffset(offset);
|
| +}
|
| +
|
| void TabContents::UpdateEncoding(RenderViewHost* render_view_host,
|
| const std::string& encoding) {
|
| set_encoding(encoding);
|
|
|