| 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 5457a0d9073636fc8608bbcc85d47135e6d86e3d..5bcd924bf9e9d5b303ce03aeabb2f2039eca1fe3 100644
|
| --- a/chrome/browser/tab_contents/tab_contents.cc
|
| +++ b/chrome/browser/tab_contents/tab_contents.cc
|
| @@ -2854,6 +2854,16 @@ void TabContents::BeforeUnloadFiredFromRenderManager(
|
| delegate()->BeforeUnloadFired(this, proceed, proceed_to_fire_unload);
|
| }
|
|
|
| +void TabContents::DidStartLoadingFromRenderManager(
|
| + RenderViewHost* render_view_host) {
|
| + DidStartLoading();
|
| +}
|
| +
|
| +void TabContents::RenderViewGoneFromRenderManager(
|
| + RenderViewHost* render_view_host) {
|
| + RenderViewGone(render_view_host);
|
| +}
|
| +
|
| void TabContents::UpdateRenderViewSizeForRenderManager() {
|
| // TODO(brettw) this is a hack. See TabContentsView::SizeContents.
|
| gfx::Size size = view_->GetContainerSize();
|
| @@ -2865,6 +2875,14 @@ void TabContents::UpdateRenderViewSizeForRenderManager() {
|
| view_->SizeContents(size);
|
| }
|
|
|
| +void TabContents::NotifySwappedFromRenderManager() {
|
| + NotifySwapped();
|
| +}
|
| +
|
| +NavigationController& TabContents::GetControllerForRenderManager() {
|
| + return controller();
|
| +}
|
| +
|
| DOMUI* TabContents::CreateDOMUIForRenderManager(const GURL& url) {
|
| return DOMUIFactory::CreateDOMUIForURL(this, url);
|
| }
|
| @@ -3062,6 +3080,14 @@ void TabContents::SetSuppressMessageBoxes(bool suppress_message_boxes) {
|
| set_suppress_javascript_messages(suppress_message_boxes);
|
| }
|
|
|
| +TabContents* TabContents::AsTabContents() {
|
| + return this;
|
| +}
|
| +
|
| +ExtensionHost* TabContents::AsExtensionHost() {
|
| + return NULL;
|
| +}
|
| +
|
| void TabContents::set_encoding(const std::string& encoding) {
|
| encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding);
|
| }
|
|
|