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

Unified Diff: chrome/browser/ui/constrained_window_tab_helper.cc

Issue 10546106: TabContentsWrapper -> TabContents, part 53. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
Index: chrome/browser/ui/constrained_window_tab_helper.cc
diff --git a/chrome/browser/ui/constrained_window_tab_helper.cc b/chrome/browser/ui/constrained_window_tab_helper.cc
index a867ed52c7f5ee5e62f02dfe81ee9ab1e3966b6e..a372e3165ee4778aaf0de1a71be605975a9f043c 100644
--- a/chrome/browser/ui/constrained_window_tab_helper.cc
+++ b/chrome/browser/ui/constrained_window_tab_helper.cc
@@ -6,7 +6,7 @@
#include "chrome/browser/ui/constrained_window.h"
#include "chrome/browser/ui/constrained_window_tab_helper_delegate.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/common/render_messages.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
@@ -18,9 +18,9 @@
using content::WebContents;
ConstrainedWindowTabHelper::ConstrainedWindowTabHelper(
- TabContentsWrapper* wrapper)
- : content::WebContentsObserver(wrapper->web_contents()),
- wrapper_(wrapper),
+ TabContents* tab_contents)
+ : content::WebContentsObserver(tab_contents->web_contents()),
+ tab_contents_(tab_contents),
delegate_(NULL) {
}
@@ -85,7 +85,7 @@ void ConstrainedWindowTabHelper::BlockTabContent(bool blocked) {
host->GetRoutingID(), blocked));
}
if (delegate_)
- delegate_->SetTabContentBlocked(wrapper_, blocked);
+ delegate_->SetTabContentBlocked(tab_contents_, blocked);
}
void ConstrainedWindowTabHelper::DidNavigateMainFrame(
« no previous file with comments | « chrome/browser/ui/constrained_window_tab_helper.h ('k') | chrome/browser/ui/constrained_window_tab_helper_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698