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

Unified Diff: chrome/browser/ui/constrained_window_tab_helper_unittest.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_unittest.cc
diff --git a/chrome/browser/ui/constrained_window_tab_helper_unittest.cc b/chrome/browser/ui/constrained_window_tab_helper_unittest.cc
index 93365cc84747301000a84585c60c19f8d6ce757d..f4e9c6b7038db8ae0812a4f9209186ea37dcfca9 100644
--- a/chrome/browser/ui/constrained_window_tab_helper_unittest.cc
+++ b/chrome/browser/ui/constrained_window_tab_helper_unittest.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/ui/constrained_window.h"
#include "chrome/browser/ui/constrained_window_tab_helper.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/tab_contents/test_tab_contents.h"
#include "content/public/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -24,8 +24,8 @@ class ConstrainedWindowTabHelperUnit : public TabContentsTestHarness {
class ConstrainedWindowCloseTest : public ConstrainedWindow {
public:
- explicit ConstrainedWindowCloseTest(TabContentsWrapper* wrapper)
- : wrapper_(wrapper) {
+ explicit ConstrainedWindowCloseTest(TabContents* tab_contents)
+ : tab_contents_(tab_contents) {
}
virtual void ShowConstrainedWindow() {}
@@ -33,12 +33,12 @@ class ConstrainedWindowCloseTest : public ConstrainedWindow {
virtual ~ConstrainedWindowCloseTest() {}
virtual void CloseConstrainedWindow() {
- wrapper_->constrained_window_tab_helper()->WillClose(this);
+ tab_contents_->constrained_window_tab_helper()->WillClose(this);
close_count++;
}
int close_count;
- TabContentsWrapper* wrapper_;
+ TabContents* tab_contents_;
};
TEST_F(ConstrainedWindowTabHelperUnit, ConstrainedWindows) {
« no previous file with comments | « chrome/browser/ui/constrained_window_tab_helper_delegate.cc ('k') | chrome/browser/ui/fullscreen_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698