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

Unified Diff: chrome/test/base/test_tab_strip_model_observer.cc

Issue 10537062: TabContentsWrapper -> TabContents, part 13. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiz 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
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/test_tab_strip_model_observer.cc
diff --git a/chrome/test/base/test_tab_strip_model_observer.cc b/chrome/test/base/test_tab_strip_model_observer.cc
index 510d6e69ab5b7915f896750594876bfd4ae89662..0385b2b7a25e972b644bbb68c950577a8fe3f4f6 100644
--- a/chrome/test/base/test_tab_strip_model_observer.cc
+++ b/chrome/test/base/test_tab_strip_model_observer.cc
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "base/message_loop.h"
#include "chrome/browser/printing/print_preview_tab_controller.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/web_contents.h"
@@ -27,7 +27,7 @@ TestTabStripModelObserver::~TestTabStripModelObserver() {
}
void TestTabStripModelObserver::TabBlockedStateChanged(
- TabContentsWrapper* contents, int index) {
+ TabContents* contents, int index) {
// Need to do this later - the print preview tab has not been created yet.
MessageLoop::current()->PostTask(
FROM_HERE,
@@ -37,11 +37,11 @@ void TestTabStripModelObserver::TabBlockedStateChanged(
}
void TestTabStripModelObserver::ObservePrintPreviewTabContents(
- TabContentsWrapper* contents) {
+ TabContents* contents) {
printing::PrintPreviewTabController* tab_controller =
printing::PrintPreviewTabController::GetInstance();
if (tab_controller) {
- TabContentsWrapper* preview_tab =
+ TabContents* preview_tab =
tab_controller->GetPrintPreviewForTab(contents);
if (preview_tab) {
RegisterAsObserver(content::Source<NavigationController>(
« no previous file with comments | « chrome/test/base/test_tab_strip_model_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698