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

Unified Diff: chrome/browser/notifications/balloon_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
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/balloon_host.cc
===================================================================
--- chrome/browser/notifications/balloon_host.cc (revision 115228)
+++ chrome/browser/notifications/balloon_host.cc (working copy)
@@ -117,11 +117,11 @@
MSG_ROUTING_NONE,
NULL,
NULL));
- tab_contents_->set_view_type(chrome::VIEW_TYPE_NOTIFICATION);
+ tab_contents_->SetViewType(chrome::VIEW_TYPE_NOTIFICATION);
tab_contents_->SetDelegate(this);
Observe(tab_contents_.get());
- tab_contents_->controller().LoadURL(
+ tab_contents_->GetController().LoadURL(
balloon_->notification().content_url(), content::Referrer(),
content::PAGE_TRANSITION_LINK, std::string());
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698