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_GTK_TABS_DRAGGED_TAB_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "app/gfx/canvas.h" | |
11 #include "app/slide_animation.h" | 10 #include "app/slide_animation.h" |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
14 #include "base/task.h" | 13 #include "base/task.h" |
| 14 #include "gfx/canvas.h" |
15 #include "gfx/point.h" | 15 #include "gfx/point.h" |
16 #include "gfx/rect.h" | 16 #include "gfx/rect.h" |
17 #include "gfx/size.h" | 17 #include "gfx/size.h" |
18 | 18 |
19 class TabContents; | 19 class TabContents; |
20 class TabRendererGtk; | 20 class TabRendererGtk; |
21 | 21 |
22 class DraggedTabGtk : public AnimationDelegate { | 22 class DraggedTabGtk : public AnimationDelegate { |
23 public: | 23 public: |
24 DraggedTabGtk(TabContents* datasource, | 24 DraggedTabGtk(TabContents* datasource, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 scoped_ptr<Callback0::Type> animation_callback_; | 136 scoped_ptr<Callback0::Type> animation_callback_; |
137 | 137 |
138 // The start and end bounds of the animation sequence. | 138 // The start and end bounds of the animation sequence. |
139 gfx::Rect animation_start_bounds_; | 139 gfx::Rect animation_start_bounds_; |
140 gfx::Rect animation_end_bounds_; | 140 gfx::Rect animation_end_bounds_; |
141 | 141 |
142 DISALLOW_COPY_AND_ASSIGN(DraggedTabGtk); | 142 DISALLOW_COPY_AND_ASSIGN(DraggedTabGtk); |
143 }; | 143 }; |
144 | 144 |
145 #endif // CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ | 145 #endif // CHROME_BROWSER_GTK_TABS_DRAGGED_TAB_GTK_H_ |
OLD | NEW |