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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 10938033: Switch BlockedContentTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 months 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/ui/views/external_tab_container_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index 4753593ee5a02032526cce95e82325a5c3eb0079..7dfe392e8babd5ee6515fbea90f245a4103e095c 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -256,7 +256,8 @@ bool ExternalTabContainerWin::Init(Profile* profile,
LoadAccelerators();
SetupExternalTabView();
- tab_contents_->blocked_content_tab_helper()->set_delegate(this);
+ BlockedContentTabHelper::FromWebContents(tab_contents_->web_contents())->
+ set_delegate(this);
return true;
}
@@ -568,8 +569,8 @@ void ExternalTabContainerWin::MoveContents(WebContents* source,
automation_->Send(new AutomationMsg_MoveWindow(tab_handle_, pos));
}
-TabContents* ExternalTabContainerWin::GetConstrainingTabContents(
- TabContents* source) {
+content::WebContents* ExternalTabContainerWin::GetConstrainingWebContents(
+ content::WebContents* source) {
return source;
}
« no previous file with comments | « chrome/browser/ui/views/external_tab_container_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698