Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1968)

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 8956050: Rename TabContents::controller() to GetController and put it into the WebContents interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_host.cc
===================================================================
--- chrome/browser/extensions/extension_host.cc (revision 115228)
+++ chrome/browser/extensions/extension_host.cc (working copy)
@@ -133,7 +133,7 @@
profile_, site_instance, MSG_ROUTING_NONE, NULL, NULL));
TabContentsObserver::Observe(host_contents_.get());
host_contents_->SetDelegate(this);
- host_contents_->set_view_type(host_type);
+ host_contents_->SetViewType(host_type);
// TODO(mpcomplete): This was lifted from PrefsTabHelper, but it might be
// better to reuse all of PrefsTabHelper. We'd first have to make it not
@@ -251,7 +251,7 @@
return;
}
- host_contents_->controller().LoadURL(
+ host_contents_->GetController().LoadURL(
initial_url_, content::Referrer(), content::PAGE_TRANSITION_LINK,
std::string());
}

Powered by Google App Engine
This is Rietveld 408576698