| OLD | NEW |
| 1 // Copyright (c) 2012 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_VIEWS_TABS_BASE_TAB_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" | 10 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 int loading_animation_frame_; | 188 int loading_animation_frame_; |
| 189 | 189 |
| 190 bool should_display_crashed_favicon_; | 190 bool should_display_crashed_favicon_; |
| 191 | 191 |
| 192 // Pulse animation. | 192 // Pulse animation. |
| 193 scoped_ptr<ui::ThrobAnimation> pulse_animation_; | 193 scoped_ptr<ui::ThrobAnimation> pulse_animation_; |
| 194 | 194 |
| 195 // Crash animation. | 195 // Crash animation. |
| 196 scoped_ptr<FaviconCrashAnimation> crash_animation_; | 196 scoped_ptr<FaviconCrashAnimation> crash_animation_; |
| 197 | 197 |
| 198 // Recording animation. |
| 199 scoped_ptr<ui::ThrobAnimation> recording_animation_; |
| 200 |
| 198 scoped_refptr<ui::AnimationContainer> animation_container_; | 201 scoped_refptr<ui::AnimationContainer> animation_container_; |
| 199 | 202 |
| 200 views::ImageButton* close_button_; | 203 views::ImageButton* close_button_; |
| 201 | 204 |
| 202 // Whether to disable throbber animations. Only true if this is an app tab | 205 // Whether to disable throbber animations. Only true if this is an app tab |
| 203 // renderer and a command line flag has been passed in to disable the | 206 // renderer and a command line flag has been passed in to disable the |
| 204 // animations. | 207 // animations. |
| 205 bool throbber_disabled_; | 208 bool throbber_disabled_; |
| 206 | 209 |
| 207 ui::ThemeProvider* theme_provider_; | 210 ui::ThemeProvider* theme_provider_; |
| 208 | 211 |
| 209 views::GlowHoverController hover_controller_; | 212 views::GlowHoverController hover_controller_; |
| 210 | 213 |
| 211 static gfx::Font* font_; | 214 static gfx::Font* font_; |
| 212 static int font_height_; | 215 static int font_height_; |
| 213 | 216 |
| 214 DISALLOW_COPY_AND_ASSIGN(BaseTab); | 217 DISALLOW_COPY_AND_ASSIGN(BaseTab); |
| 215 }; | 218 }; |
| 216 | 219 |
| 217 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ | 220 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ |
| OLD | NEW |