OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GTK_TABS_DRAGGED_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_DRAGGED_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_TABS_DRAGGED_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_TABS_DRAGGED_VIEW_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_old.h" | |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/task.h" | 14 #include "base/task.h" |
16 #include "ui/base/animation/animation_delegate.h" | 15 #include "ui/base/animation/animation_delegate.h" |
17 #include "ui/base/animation/slide_animation.h" | 16 #include "ui/base/animation/slide_animation.h" |
18 #include "ui/base/gtk/gtk_signal.h" | 17 #include "ui/base/gtk/gtk_signal.h" |
19 #include "ui/gfx/canvas.h" | 18 #include "ui/gfx/canvas.h" |
20 #include "ui/gfx/point.h" | 19 #include "ui/gfx/point.h" |
21 #include "ui/gfx/rect.h" | 20 #include "ui/gfx/rect.h" |
22 #include "ui/gfx/size.h" | 21 #include "ui/gfx/size.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 base::Closure animation_callback_; | 183 base::Closure animation_callback_; |
185 | 184 |
186 // The start and end bounds of the animation sequence. | 185 // The start and end bounds of the animation sequence. |
187 gfx::Rect animation_start_bounds_; | 186 gfx::Rect animation_start_bounds_; |
188 gfx::Rect animation_end_bounds_; | 187 gfx::Rect animation_end_bounds_; |
189 | 188 |
190 DISALLOW_COPY_AND_ASSIGN(DraggedViewGtk); | 189 DISALLOW_COPY_AND_ASSIGN(DraggedViewGtk); |
191 }; | 190 }; |
192 | 191 |
193 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_VIEW_GTK_H_ | 192 #endif // CHROME_BROWSER_UI_GTK_TABS_DRAGGED_VIEW_GTK_H_ |
OLD | NEW |