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

Unified Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.h

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/ui/views/tabs/browser_tab_strip_controller.h
===================================================================
--- chrome/browser/ui/views/tabs/browser_tab_strip_controller.h (revision 66453)
+++ chrome/browser/ui/views/tabs/browser_tab_strip_controller.h (working copy)
@@ -19,7 +19,7 @@
struct TabRendererData;
// An implementation of TabStripController that sources data from the
-// TabContentses in a TabStripModel.
+// TabContentsWrappers in a TabStripModel.
class BrowserTabStripController : public TabStripController,
public TabStripModelObserver,
public NotificationObserver {
@@ -57,26 +57,29 @@
virtual void CreateNewTab();
// TabStripModelObserver implementation:
- virtual void TabInsertedAt(TabContents* contents,
+ virtual void TabInsertedAt(TabContentsWrapper* contents,
int model_index,
bool foreground);
- virtual void TabDetachedAt(TabContents* contents, int model_index);
- virtual void TabSelectedAt(TabContents* old_contents,
- TabContents* contents,
+ virtual void TabDetachedAt(TabContentsWrapper* contents, int model_index);
+ virtual void TabSelectedAt(TabContentsWrapper* old_contents,
+ TabContentsWrapper* contents,
int model_index,
bool user_gesture);
- virtual void TabMoved(TabContents* contents,
+ virtual void TabMoved(TabContentsWrapper* contents,
int from_model_index,
int to_model_index);
- virtual void TabChangedAt(TabContents* contents,
+ virtual void TabChangedAt(TabContentsWrapper* contents,
int model_index,
TabChangeType change_type);
- virtual void TabReplacedAt(TabContents* old_contents,
- TabContents* new_contents,
+ virtual void TabReplacedAt(TabContentsWrapper* old_contents,
+ TabContentsWrapper* new_contents,
int model_index);
- virtual void TabPinnedStateChanged(TabContents* contents, int model_index);
- virtual void TabMiniStateChanged(TabContents* contents, int model_index);
- virtual void TabBlockedStateChanged(TabContents* contents, int model_index);
+ virtual void TabPinnedStateChanged(TabContentsWrapper* contents,
+ int model_index);
+ virtual void TabMiniStateChanged(TabContentsWrapper* contents,
+ int model_index);
+ virtual void TabBlockedStateChanged(TabContentsWrapper* contents,
+ int model_index);
// NotificationObserver implementation:
virtual void Observe(NotificationType type, const NotificationSource& source,
@@ -86,7 +89,7 @@
class TabContextMenuContents;
// Invokes tabstrip_->SetTabData.
- void SetTabDataAt(TabContents* contents, int model_index);
+ void SetTabDataAt(TabContentsWrapper* contents, int model_index);
// Sets the TabRendererData from the TabStripModel.
void SetTabRendererDataFromModel(TabContents* contents,

Powered by Google App Engine
This is Rietveld 408576698