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