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

Unified Diff: chrome/browser/ui/cocoa/infobars/translate_infobar_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/infobars/translate_infobar_unittest.mm
diff --git a/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm b/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
index 348bd21b58f50e3f341efa57698a3553c3fd7693..e27e3df051880b1559d11fa2b6ac74b826bf8937 100644
--- a/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
+++ b/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
@@ -13,7 +13,7 @@
#import "chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.h"
#import "chrome/browser/ui/cocoa/infobars/infobar.h"
#import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#import "content/public/browser/web_contents.h"
#import "testing/gmock/include/gmock/gmock.h"
#import "testing/gtest/include/gtest/gtest.h"
@@ -74,7 +74,7 @@ class TranslationInfoBarTest : public CocoaProfileTest {
// the test.
virtual void SetUp() {
CocoaProfileTest::SetUp();
- tab_contents_.reset(new TabContentsWrapper(WebContents::Create(
+ tab_contents_.reset(new TabContents(WebContents::Create(
profile(), NULL, MSG_ROUTING_NONE, NULL, NULL)));
CreateInfoBar();
}
@@ -106,7 +106,7 @@ class TranslationInfoBarTest : public CocoaProfileTest {
[[test_window() contentView] addSubview:[infobar_controller_ view]];
}
- scoped_ptr<TabContentsWrapper> tab_contents_;
+ scoped_ptr<TabContents> tab_contents_;
scoped_ptr<MockTranslateInfoBarDelegate> infobar_delegate_;
scoped_nsobject<TranslateInfoBarControllerBase> infobar_controller_;
};
« no previous file with comments | « chrome/browser/ui/cocoa/infobars/infobar_controller_unittest.mm ('k') | chrome/browser/ui/cocoa/keystone_infobar_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698