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

Side by Side Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h

Issue 11359201: Remove TabContents from TabStripModelObserver::TabReplacedAt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 content::WebContents* new_contents, 121 content::WebContents* new_contents,
122 int index, 122 int index,
123 bool user_gesture) OVERRIDE; 123 bool user_gesture) OVERRIDE;
124 virtual void TabSelectionChanged( 124 virtual void TabSelectionChanged(
125 TabStripModel* tab_strip_model, 125 TabStripModel* tab_strip_model,
126 const TabStripSelectionModel& old_model) OVERRIDE; 126 const TabStripSelectionModel& old_model) OVERRIDE;
127 virtual void TabChangedAt(content::WebContents* contents, 127 virtual void TabChangedAt(content::WebContents* contents,
128 int index, 128 int index,
129 TabChangeType change_type) OVERRIDE; 129 TabChangeType change_type) OVERRIDE;
130 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 130 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
131 TabContents* old_contents, 131 content::WebContents* old_contents,
132 TabContents* new_contents, 132 content::WebContents* new_contents,
133 int index) OVERRIDE; 133 int index) OVERRIDE;
134 virtual void TabMiniStateChanged(content::WebContents* contents, 134 virtual void TabMiniStateChanged(content::WebContents* contents,
135 int index) OVERRIDE; 135 int index) OVERRIDE;
136 virtual void TabBlockedStateChanged(content::WebContents* contents, 136 virtual void TabBlockedStateChanged(content::WebContents* contents,
137 int index) OVERRIDE; 137 int index) OVERRIDE;
138 138
139 // TabGtk::TabDelegate implementation: 139 // TabGtk::TabDelegate implementation:
140 virtual bool IsTabActive(const TabGtk* tab) const OVERRIDE; 140 virtual bool IsTabActive(const TabGtk* tab) const OVERRIDE;
141 virtual bool IsTabSelected(const TabGtk* tab) const OVERRIDE; 141 virtual bool IsTabSelected(const TabGtk* tab) const OVERRIDE;
142 virtual bool IsTabPinned(const TabGtk* tab) const OVERRIDE; 142 virtual bool IsTabPinned(const TabGtk* tab) const OVERRIDE;
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 495
496 // Helper for performing tab selection as a result of dragging over a tab. 496 // Helper for performing tab selection as a result of dragging over a tab.
497 HoverTabSelector hover_tab_selector_; 497 HoverTabSelector hover_tab_selector_;
498 498
499 content::NotificationRegistrar registrar_; 499 content::NotificationRegistrar registrar_;
500 500
501 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 501 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
502 }; 502 };
503 503
504 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ 504 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm ('k') | chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698