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

Unified Diff: chrome/browser/tabs/tab_strip_model_order_controller.cc

Issue 4694008: Make pink's TabContentsWrapper change compile on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/tabs/tab_strip_model_order_controller.cc
===================================================================
--- chrome/browser/tabs/tab_strip_model_order_controller.cc (revision 66453)
+++ chrome/browser/tabs/tab_strip_model_order_controller.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/browser/tabs/tab_strip_model_order_controller.h"
-#include "chrome/browser/tab_contents/tab_contents.h"
+#include "chrome/browser/tab_contents_wrapper.h"
///////////////////////////////////////////////////////////////////////////////
// TabStripModelOrderController, public:
@@ -21,7 +21,7 @@
}
int TabStripModelOrderController::DetermineInsertionIndex(
- TabContents* new_contents,
+ TabContentsWrapper* new_contents,
PageTransition::Type transition,
bool foreground) {
int tab_count = tabstrip_->count();
@@ -104,10 +104,11 @@
return selected_index;
}
-void TabStripModelOrderController::TabSelectedAt(TabContents* old_contents,
- TabContents* new_contents,
- int index,
- bool user_gesture) {
+void TabStripModelOrderController::TabSelectedAt(
+ TabContentsWrapper* old_contents,
+ TabContentsWrapper* new_contents,
+ int index,
+ bool user_gesture) {
NavigationController* old_opener = NULL;
if (old_contents) {
int index = tabstrip_->GetIndexOfTabContents(old_contents);

Powered by Google App Engine
This is Rietveld 408576698