| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 108 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
| 109 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 109 virtual void TabSelectedAt(TabContentsWrapper* old_contents, |
| 110 TabContentsWrapper* contents, | 110 TabContentsWrapper* contents, |
| 111 int index, | 111 int index, |
| 112 bool user_gesture); | 112 bool user_gesture); |
| 113 virtual void TabMoved(TabContentsWrapper* contents, | 113 virtual void TabMoved(TabContentsWrapper* contents, |
| 114 int from_index, | 114 int from_index, |
| 115 int to_index); | 115 int to_index); |
| 116 virtual void TabChangedAt(TabContentsWrapper* contents, int index, | 116 virtual void TabChangedAt(TabContentsWrapper* contents, int index, |
| 117 TabChangeType change_type); | 117 TabChangeType change_type); |
| 118 virtual void TabReplacedAt(TabContentsWrapper* old_contents, | 118 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 119 TabContentsWrapper* old_contents, |
| 119 TabContentsWrapper* new_contents, | 120 TabContentsWrapper* new_contents, |
| 120 int index); | 121 int index); |
| 121 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index); | 122 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index); |
| 122 virtual void TabBlockedStateChanged(TabContentsWrapper* contents, | 123 virtual void TabBlockedStateChanged(TabContentsWrapper* contents, |
| 123 int index); | 124 int index); |
| 124 | 125 |
| 125 // TabGtk::TabDelegate implementation: | 126 // TabGtk::TabDelegate implementation: |
| 126 virtual bool IsTabSelected(const TabGtk* tab) const; | 127 virtual bool IsTabSelected(const TabGtk* tab) const; |
| 127 virtual bool IsTabPinned(const TabGtk* tab) const; | 128 virtual bool IsTabPinned(const TabGtk* tab) const; |
| 128 virtual bool IsTabDetached(const TabGtk* tab) const; | 129 virtual bool IsTabDetached(const TabGtk* tab) const; |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 // ResizeLayoutTabsNow method. | 457 // ResizeLayoutTabsNow method. |
| 457 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; | 458 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; |
| 458 | 459 |
| 459 // True if the tabstrip has already been added as a MessageLoop observer. | 460 // True if the tabstrip has already been added as a MessageLoop observer. |
| 460 bool added_as_message_loop_observer_; | 461 bool added_as_message_loop_observer_; |
| 461 | 462 |
| 462 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); | 463 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); |
| 463 }; | 464 }; |
| 464 | 465 |
| 465 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ | 466 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ |
| OLD | NEW |