| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "app/gtk_signal.h" | |
| 13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 14 #include "base/task.h" | 13 #include "base/task.h" |
| 15 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 16 #include "chrome/browser/tabs/tab_strip_model.h" | 15 #include "chrome/browser/tabs/tab_strip_model.h" |
| 17 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 16 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
| 18 #include "chrome/browser/ui/gtk/tabs/tab_gtk.h" | 17 #include "chrome/browser/ui/gtk/tabs/tab_gtk.h" |
| 19 #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h" | 18 #include "chrome/browser/ui/gtk/tabstrip_origin_provider.h" |
| 20 #include "chrome/browser/ui/gtk/view_id_util.h" | 19 #include "chrome/browser/ui/gtk/view_id_util.h" |
| 21 #include "chrome/common/notification_observer.h" | 20 #include "chrome/common/notification_observer.h" |
| 22 #include "gfx/rect.h" | 21 #include "gfx/rect.h" |
| 22 #include "ui/base/gtk/gtk_signal.h" |
| 23 | 23 |
| 24 class BrowserWindowGtk; | 24 class BrowserWindowGtk; |
| 25 class CustomDrawButton; | 25 class CustomDrawButton; |
| 26 class DraggedTabControllerGtk; | 26 class DraggedTabControllerGtk; |
| 27 class GtkThemeProvider; | 27 class GtkThemeProvider; |
| 28 | 28 |
| 29 class TabStripGtk : public TabStripModelObserver, | 29 class TabStripGtk : public TabStripModelObserver, |
| 30 public TabGtk::TabDelegate, | 30 public TabGtk::TabDelegate, |
| 31 public MessageLoopForUI::Observer, | 31 public MessageLoopForUI::Observer, |
| 32 public NotificationObserver, | 32 public NotificationObserver, |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 // ResizeLayoutTabsNow method. | 457 // ResizeLayoutTabsNow method. |
| 458 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; | 458 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; |
| 459 | 459 |
| 460 // 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. |
| 461 bool added_as_message_loop_observer_; | 461 bool added_as_message_loop_observer_; |
| 462 | 462 |
| 463 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); | 463 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); |
| 464 }; | 464 }; |
| 465 | 465 |
| 466 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ | 466 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_ |
| OLD | NEW |