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