| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); | 114 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); |
| 115 virtual void StartHighlightTabsForCommand( | 115 virtual void StartHighlightTabsForCommand( |
| 116 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); | 116 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); |
| 117 virtual void StopHighlightTabsForCommand( | 117 virtual void StopHighlightTabsForCommand( |
| 118 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); | 118 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); |
| 119 virtual void StopAllHighlighting(); | 119 virtual void StopAllHighlighting(); |
| 120 virtual void MaybeStartDrag(TabGtk* tab, const gfx::Point& point); | 120 virtual void MaybeStartDrag(TabGtk* tab, const gfx::Point& point); |
| 121 virtual void ContinueDrag(GdkDragContext* context); | 121 virtual void ContinueDrag(GdkDragContext* context); |
| 122 virtual bool EndDrag(bool canceled); | 122 virtual bool EndDrag(bool canceled); |
| 123 virtual bool HasAvailableDragActions() const; | 123 virtual bool HasAvailableDragActions() const; |
| 124 virtual ThemeProvider* GetThemeProvider(); |
| 124 | 125 |
| 125 // MessageLoop::Observer implementation: | 126 // MessageLoop::Observer implementation: |
| 126 virtual void WillProcessEvent(GdkEvent* event); | 127 virtual void WillProcessEvent(GdkEvent* event); |
| 127 virtual void DidProcessEvent(GdkEvent* event); | 128 virtual void DidProcessEvent(GdkEvent* event); |
| 128 | 129 |
| 129 // Overridden from NotificationObserver: | 130 // Overridden from NotificationObserver: |
| 130 virtual void Observe(NotificationType type, | 131 virtual void Observe(NotificationType type, |
| 131 const NotificationSource& source, | 132 const NotificationSource& source, |
| 132 const NotificationDetails& details); | 133 const NotificationDetails& details); |
| 133 | 134 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 // ResizeLayoutTabsNow method. | 429 // ResizeLayoutTabsNow method. |
| 429 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; | 430 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; |
| 430 | 431 |
| 431 // True if the tabstrip has already been added as a MessageLoop observer. | 432 // True if the tabstrip has already been added as a MessageLoop observer. |
| 432 bool added_as_message_loop_observer_; | 433 bool added_as_message_loop_observer_; |
| 433 | 434 |
| 434 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); | 435 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); |
| 435 }; | 436 }; |
| 436 | 437 |
| 437 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ | 438 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ |
| OLD | NEW |