OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_GTK_TABS_TAB_STRIP_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ | 6 #define CHROME_BROWSER_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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void TabDetachedAt(TabContents* contents, int index); | 104 virtual void TabDetachedAt(TabContents* contents, int index); |
105 virtual void TabSelectedAt(TabContents* old_contents, | 105 virtual void TabSelectedAt(TabContents* old_contents, |
106 TabContents* contents, | 106 TabContents* contents, |
107 int index, | 107 int index, |
108 bool user_gesture); | 108 bool user_gesture); |
109 virtual void TabMoved(TabContents* contents, | 109 virtual void TabMoved(TabContents* contents, |
110 int from_index, | 110 int from_index, |
111 int to_index); | 111 int to_index); |
112 virtual void TabChangedAt(TabContents* contents, int index, | 112 virtual void TabChangedAt(TabContents* contents, int index, |
113 TabChangeType change_type); | 113 TabChangeType change_type); |
114 virtual void TabReplacedAt(TabContents* old_contents, | |
115 TabContents* new_contents, | |
116 int index); | |
117 virtual void TabMiniStateChanged(TabContents* contents, int index); | 114 virtual void TabMiniStateChanged(TabContents* contents, int index); |
118 virtual void TabBlockedStateChanged(TabContents* contents, | 115 virtual void TabBlockedStateChanged(TabContents* contents, |
119 int index); | 116 int index); |
120 | 117 |
121 // TabGtk::TabDelegate implementation: | 118 // TabGtk::TabDelegate implementation: |
122 virtual bool IsTabSelected(const TabGtk* tab) const; | 119 virtual bool IsTabSelected(const TabGtk* tab) const; |
123 virtual bool IsTabPinned(const TabGtk* tab) const; | 120 virtual bool IsTabPinned(const TabGtk* tab) const; |
124 virtual bool IsTabDetached(const TabGtk* tab) const; | 121 virtual bool IsTabDetached(const TabGtk* tab) const; |
125 virtual void SelectTab(TabGtk* tab); | 122 virtual void SelectTab(TabGtk* tab); |
126 virtual void CloseTab(TabGtk* tab); | 123 virtual void CloseTab(TabGtk* tab); |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 // ResizeLayoutTabsNow method. | 448 // ResizeLayoutTabsNow method. |
452 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; | 449 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; |
453 | 450 |
454 // True if the tabstrip has already been added as a MessageLoop observer. | 451 // True if the tabstrip has already been added as a MessageLoop observer. |
455 bool added_as_message_loop_observer_; | 452 bool added_as_message_loop_observer_; |
456 | 453 |
457 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); | 454 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); |
458 }; | 455 }; |
459 | 456 |
460 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ | 457 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ |
OLD | NEW |