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

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

Issue 11365201: Remove TabContents from TabStripModelObserver::TabMoved. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: linux oops 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // ViewIDUtil::Delegate implementation --------------------------------------- 107 // ViewIDUtil::Delegate implementation ---------------------------------------
108 virtual GtkWidget* GetWidgetForViewID(ViewID id) OVERRIDE; 108 virtual GtkWidget* GetWidgetForViewID(ViewID id) OVERRIDE;
109 109
110 protected: 110 protected:
111 // TabStripModelObserver implementation: 111 // TabStripModelObserver implementation:
112 virtual void TabInsertedAt(content::WebContents* contents, 112 virtual void TabInsertedAt(content::WebContents* contents,
113 int index, 113 int index,
114 bool foreground) OVERRIDE; 114 bool foreground) OVERRIDE;
115 virtual void TabDetachedAt(content::WebContents* contents, 115 virtual void TabDetachedAt(content::WebContents* contents,
116 int index) OVERRIDE; 116 int index) OVERRIDE;
117 virtual void TabMoved(TabContents* contents, 117 virtual void TabMoved(content::WebContents* contents,
118 int from_index, 118 int from_index,
119 int to_index) OVERRIDE; 119 int to_index) OVERRIDE;
120 virtual void ActiveTabChanged(TabContents* old_contents, 120 virtual void ActiveTabChanged(TabContents* old_contents,
121 TabContents* new_contents, 121 TabContents* 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(TabContents* contents, int index, 127 virtual void TabChangedAt(TabContents* contents, int index,
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 // Helper for performing tab selection as a result of dragging over a tab. 495 // Helper for performing tab selection as a result of dragging over a tab.
496 HoverTabSelector hover_tab_selector_; 496 HoverTabSelector hover_tab_selector_;
497 497
498 content::NotificationRegistrar registrar_; 498 content::NotificationRegistrar registrar_;
499 499
500 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 500 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
501 }; 501 };
502 502
503 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ 503 #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