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