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_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
11 #include "base/timer.h" | 11 #include "base/timer.h" |
12 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 12 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
13 #include "chrome/browser/tab_contents_wrapper.h" | 13 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
14 #include "chrome/browser/ui/tabs/dock_info.h" | 14 #include "chrome/browser/ui/tabs/dock_info.h" |
15 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
17 #include "gfx/rect.h" | 17 #include "gfx/rect.h" |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 class View; | 20 class View; |
21 } | 21 } |
22 class BaseTab; | 22 class BaseTab; |
23 class BaseTabStrip; | 23 class BaseTabStrip; |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // Did the mouse move enough that we started a drag? | 331 // Did the mouse move enough that we started a drag? |
332 bool started_drag_; | 332 bool started_drag_; |
333 | 333 |
334 // Is the drag active? | 334 // Is the drag active? |
335 bool active_; | 335 bool active_; |
336 | 336 |
337 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); | 337 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); |
338 }; | 338 }; |
339 | 339 |
340 #endif // CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 340 #endif // CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
OLD | NEW |