OLD | NEW |
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 16 matching lines...) Expand all Loading... |
27 class CustomDrawButton; | 27 class CustomDrawButton; |
28 class DraggedTabControllerGtk; | 28 class DraggedTabControllerGtk; |
29 class GtkThemeService; | 29 class GtkThemeService; |
30 | 30 |
31 namespace gfx { | 31 namespace gfx { |
32 class Image; | 32 class Image; |
33 } | 33 } |
34 | 34 |
35 class TabStripGtk : public TabStripModelObserver, | 35 class TabStripGtk : public TabStripModelObserver, |
36 public TabGtk::TabDelegate, | 36 public TabGtk::TabDelegate, |
37 public MessageLoopForUI::Observer, | 37 public base::MessageLoopForUI::Observer, |
38 public content::NotificationObserver, | 38 public content::NotificationObserver, |
39 public TabstripOriginProvider, | 39 public TabstripOriginProvider, |
40 public ViewIDUtil::Delegate { | 40 public ViewIDUtil::Delegate { |
41 public: | 41 public: |
42 class TabAnimation; | 42 class TabAnimation; |
43 | 43 |
44 TabStripGtk(TabStripModel* model, BrowserWindowGtk* window); | 44 TabStripGtk(TabStripModel* model, BrowserWindowGtk* window); |
45 virtual ~TabStripGtk(); | 45 virtual ~TabStripGtk(); |
46 | 46 |
47 // Initialize and load the TabStrip into a container. | 47 // Initialize and load the TabStrip into a container. |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |