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_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_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/dock_info.h" | 12 #include "chrome/browser/dock_info.h" |
13 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 13 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
| 14 #include "chrome/common/notification_observer.h" |
14 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
15 #include "gfx/rect.h" | 16 #include "gfx/rect.h" |
16 | 17 |
17 namespace views { | 18 namespace views { |
18 class View; | 19 class View; |
19 } | 20 } |
20 class BaseTab; | 21 class BaseTab; |
21 class BaseTabStrip; | 22 class BaseTabStrip; |
22 class DraggedTabView; | 23 class DraggedTabView; |
23 class NativeViewPhotobooth; | 24 class NativeViewPhotobooth; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 // Did the mouse move enough that we started a drag? | 329 // Did the mouse move enough that we started a drag? |
329 bool started_drag_; | 330 bool started_drag_; |
330 | 331 |
331 // Is the drag active? | 332 // Is the drag active? |
332 bool active_; | 333 bool active_; |
333 | 334 |
334 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); | 335 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); |
335 }; | 336 }; |
336 | 337 |
337 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 338 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
OLD | NEW |