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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm

Issue 10534093: TabContentsWrapper -> TabContents, part 37. (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/cocoa/tabs/tab_strip_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm
index 207476b82ad872b3421e304f9deabb1262c11365..5fdd399b07b515ed7da2e2fdee15bfc27e2c0fa4 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm
@@ -13,7 +13,7 @@
#import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
#import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h"
#import "chrome/browser/ui/cocoa/tabs/tab_view.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/test_tab_strip_model_delegate.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
@@ -117,7 +117,7 @@ class TabStripControllerTest : public CocoaProfileTest {
TEST_F(TabStripControllerTest, AddRemoveTabs) {
EXPECT_TRUE(model_->empty());
SiteInstance* instance = SiteInstance::Create(profile());
- TabContentsWrapper* tab_contents =
+ TabContents* tab_contents =
Browser::TabContentsFactory(profile(), instance,
MSG_ROUTING_NONE, NULL, NULL);
model_->AppendTabContents(tab_contents, true);
@@ -135,16 +135,16 @@ TEST_F(TabStripControllerTest, RearrangeTabs) {
TEST_F(TabStripControllerTest, CorrectToolTipText) {
// Create tab 1.
SiteInstance* instance = SiteInstance::Create(profile());
- TabContentsWrapper* tab_contents =
- Browser::TabContentsFactory(profile(), instance,
- MSG_ROUTING_NONE, NULL, NULL);
+ TabContents* tab_contents =
+ Browser::TabContentsFactory(profile(), instance,
+ MSG_ROUTING_NONE, NULL, NULL);
model_->AppendTabContents(tab_contents, true);
// Create tab 2.
SiteInstance* instance2 = SiteInstance::Create(profile());
- TabContentsWrapper* tab_contents2 =
- Browser::TabContentsFactory(profile(), instance2,
- MSG_ROUTING_NONE, NULL, NULL);
+ TabContents* tab_contents2 =
+ Browser::TabContentsFactory(profile(), instance2,
+ MSG_ROUTING_NONE, NULL, NULL);
model_->AppendTabContents(tab_contents2, true);
// Set tab 1 tooltip.
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698