Index: chrome/browser/ui/views/tabs/tab.h |
=================================================================== |
--- chrome/browser/ui/views/tabs/tab.h (revision 175095) |
+++ chrome/browser/ui/views/tabs/tab.h (working copy) |
@@ -235,10 +235,12 @@ |
void DisplayCrashedFavicon(); |
void ResetCrashedFavicon(); |
- // Starts/Stops the crash animation. |
void StartCrashAnimation(); |
void StopCrashAnimation(); |
+ void StartRecordingAnimation(); |
+ void StopRecordingAnimation(); |
+ |
// Returns true if the crash animation is currently running. |
bool IsPerformingCrashAnimation() const; |
@@ -287,15 +289,12 @@ |
bool should_display_crashed_favicon_; |
- // Pulse animation. Non-null if StartPulse has been invoked. |
- scoped_ptr<ui::ThrobAnimation> pulse_animation_; |
+ // The tab and the icon can both be animating. The tab 'throbs' by changing |
+ // color. The icon can have one of several of animations like crashing, |
+ // recording, projecting, etc. |
+ scoped_ptr<ui::ThrobAnimation> tab_animation_; |
+ scoped_ptr<ui::LinearAnimation> icon_animation_; |
- // Crash animation. |
- scoped_ptr<FaviconCrashAnimation> crash_animation_; |
- |
- // Recording animation. |
- scoped_ptr<ui::ThrobAnimation> recording_animation_; |
- |
scoped_refptr<ui::AnimationContainer> animation_container_; |
views::ImageButton* close_button_; |