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_GTK_TABS_TAB_RENDERER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "app/animation.h" | 10 #include "app/animation.h" |
11 #include "app/gfx/chrome_canvas.h" | 11 #include "app/gfx/chrome_canvas.h" |
12 #include "app/gfx/chrome_font.h" | 12 #include "app/gfx/chrome_font.h" |
13 #include "app/slide_animation.h" | 13 #include "app/slide_animation.h" |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/gfx/rect.h" | 15 #include "base/gfx/rect.h" |
16 #include "chrome/common/owned_widget_gtk.h" | 16 #include "chrome/common/owned_widget_gtk.h" |
17 #include "skia/include/SkBitmap.h" | 17 #include "third_party/skia/include/core/SkBitmap.h" |
18 | 18 |
19 namespace gfx { | 19 namespace gfx { |
20 class Size; | 20 class Size; |
21 } // namespace gfx | 21 } // namespace gfx |
22 | 22 |
23 class TabContents; | 23 class TabContents; |
24 | 24 |
25 class TabRendererGtk : public AnimationDelegate { | 25 class TabRendererGtk : public AnimationDelegate { |
26 public: | 26 public: |
27 // Possible animation states. | 27 // Possible animation states. |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // Hover animation. | 243 // Hover animation. |
244 scoped_ptr<SlideAnimation> hover_animation_; | 244 scoped_ptr<SlideAnimation> hover_animation_; |
245 | 245 |
246 // Contains the loading animation state. | 246 // Contains the loading animation state. |
247 LoadingAnimation loading_animation_; | 247 LoadingAnimation loading_animation_; |
248 | 248 |
249 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); | 249 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); |
250 }; | 250 }; |
251 | 251 |
252 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 252 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
OLD | NEW |