OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_VIEW_H_ |
7 | 7 |
8 #include "app/slide_animation.h" | 8 #include "app/slide_animation.h" |
9 #include "base/gfx/point.h" | 9 #include "base/gfx/point.h" |
10 #include "base/gfx/size.h" | 10 #include "base/gfx/size.h" |
11 #include "base/task.h" | 11 #include "base/task.h" |
| 12 #include "build/build_config.h" |
12 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
13 #include "views/view.h" | 14 #include "views/view.h" |
14 | 15 |
15 namespace views { | 16 namespace views { |
| 17 #if defined(OS_WIN) |
16 class WidgetWin; | 18 class WidgetWin; |
| 19 #elif defined(OS_LINUX) |
| 20 class WidgetGtk; |
| 21 #endif |
17 } | 22 } |
18 namespace gfx { | 23 namespace gfx { |
19 class Point; | 24 class Point; |
20 } | 25 } |
21 class NativeViewPhotobooth; | 26 class NativeViewPhotobooth; |
22 class Tab; | 27 class Tab; |
23 class TabContents; | 28 class TabContents; |
24 class TabRenderer; | 29 class TabRenderer; |
25 | 30 |
26 class DraggedTabView : public views::View, | 31 class DraggedTabView : public views::View, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 scoped_ptr<Callback0::Type> animation_callback_; | 122 scoped_ptr<Callback0::Type> animation_callback_; |
118 | 123 |
119 // The start and end bounds of the animation sequence. | 124 // The start and end bounds of the animation sequence. |
120 gfx::Rect animation_start_bounds_; | 125 gfx::Rect animation_start_bounds_; |
121 gfx::Rect animation_end_bounds_; | 126 gfx::Rect animation_end_bounds_; |
122 | 127 |
123 DISALLOW_EVIL_CONSTRUCTORS(DraggedTabView); | 128 DISALLOW_EVIL_CONSTRUCTORS(DraggedTabView); |
124 }; | 129 }; |
125 | 130 |
126 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_VIEW_H_ | 131 #endif // CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_VIEW_H_ |
OLD | NEW |