OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DRAGGED_TAB_CONTROLLER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <set> | 11 #include <set> |
12 | 12 |
13 #include "app/x11_util.h" | 13 #include "app/x11_util.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "base/timer.h" | 15 #include "base/timer.h" |
16 #include "chrome/browser/dock_info.h" | |
17 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 16 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
| 17 #include "chrome/browser/ui/tabs/dock_info.h" |
18 #include "chrome/common/notification_observer.h" | 18 #include "chrome/common/notification_observer.h" |
19 #include "chrome/common/notification_registrar.h" | 19 #include "chrome/common/notification_registrar.h" |
20 | 20 |
21 class DraggedTabGtk; | 21 class DraggedTabGtk; |
22 class TabGtk; | 22 class TabGtk; |
23 class TabStripGtk; | 23 class TabStripGtk; |
24 class TabContentsWrapper; | 24 class TabContentsWrapper; |
25 | 25 |
26 class DraggedTabControllerGtk : public NotificationObserver, | 26 class DraggedTabControllerGtk : public NotificationObserver, |
27 public TabContentsDelegate { | 27 public TabContentsDelegate { |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 | 263 |
264 // Timer used to bring the window under the cursor to front. If the user | 264 // Timer used to bring the window under the cursor to front. If the user |
265 // stops moving the mouse for a brief time over a browser window, it is | 265 // stops moving the mouse for a brief time over a browser window, it is |
266 // brought to front. | 266 // brought to front. |
267 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; | 267 base::OneShotTimer<DraggedTabControllerGtk> bring_to_front_timer_; |
268 | 268 |
269 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); | 269 DISALLOW_COPY_AND_ASSIGN(DraggedTabControllerGtk); |
270 }; | 270 }; |
271 | 271 |
272 #endif // CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ | 272 #endif // CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_CONTROLLER_GTK_H_ |
OLD | NEW |