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_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
13 #include "chrome/browser/ui/host_desktop.h" | |
14 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 13 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
15 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" | 14 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
18 #include "ui/base/models/list_selection_model.h" | 17 #include "ui/base/models/list_selection_model.h" |
19 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 19 #include "ui/gfx/host_desktop_type.h" |
| 20 #include "ui/gfx/native_widget_types.h" |
20 #include "ui/views/widget/widget_observer.h" | 21 #include "ui/views/widget/widget_observer.h" |
21 | 22 |
22 namespace gfx { | 23 namespace gfx { |
23 class Screen; | 24 class Screen; |
24 } | 25 } |
25 namespace ui { | 26 namespace ui { |
26 class EventHandler; | 27 class EventHandler; |
27 class ListSelectionModel; | 28 class ListSelectionModel; |
28 } | 29 } |
29 namespace views { | 30 namespace views { |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 int attach_index_; | 600 int attach_index_; |
600 | 601 |
601 scoped_ptr<ui::EventHandler> escape_tracker_; | 602 scoped_ptr<ui::EventHandler> escape_tracker_; |
602 | 603 |
603 base::WeakPtrFactory<TabDragController> weak_factory_; | 604 base::WeakPtrFactory<TabDragController> weak_factory_; |
604 | 605 |
605 DISALLOW_COPY_AND_ASSIGN(TabDragController); | 606 DISALLOW_COPY_AND_ASSIGN(TabDragController); |
606 }; | 607 }; |
607 | 608 |
608 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ | 609 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_H_ |
OLD | NEW |