Chromium Code Reviews| Index: chrome/browser/ui/search/toolbar_search_animator_observer.h |
| diff --git a/chrome/browser/ui/search/toolbar_search_animator_observer.h b/chrome/browser/ui/search/toolbar_search_animator_observer.h |
| index 2de0deacabbc10542253e90227acf4dca9b456aa..4510c89713c3a195c7172d59d0eefbfc341e1b6f 100644 |
| --- a/chrome/browser/ui/search/toolbar_search_animator_observer.h |
| +++ b/chrome/browser/ui/search/toolbar_search_animator_observer.h |
| @@ -13,10 +13,12 @@ namespace search { |
| // This class defines the observer interface for |ToolbarSearchAnimator|. |
| class ToolbarSearchAnimatorObserver { |
| public: |
| - // Called from ui::AnimationDelegate::AnimationProgressed. |
| + // Called from ui::AnimationDelegate::AnimationProgressed for fading in |
| + // toolbar gradient background. |
| virtual void OnToolbarBackgroundAnimatorProgressed() = 0; |
| - // Called when animation is canceled and jumps to the end state. |
| + // Called when toolbar gradient background animation is canceled and jumps to |
| + // the end state. |
| // If animation is canceled because the active tab is deactivated or detached |
| // or closing, |tab_contents| contains the tab's contents. |
| // Otherwise, if animation is canceled because of mode change, |tab_contents| |
| @@ -24,6 +26,14 @@ class ToolbarSearchAnimatorObserver { |
| virtual void OnToolbarBackgroundAnimatorCanceled( |
| TabContents* tab_contents) = 0; |
| + // Called from ui::AnimationDelegate::AnimationProgressed for fading in or out |
| + // the toolbar separator. |
| + virtual void OnToolbarSeparatorAnimatorProgressed() {} |
|
dhollowa
2012/08/01 22:26:23
Should be pure virtual. ... = 0;
kuan
2012/08/02 21:54:03
method is removed.
|
| + |
| + // Called when the toolbar separator animation is canceled and jumps to the |
| + // end state. |
| + virtual void OnToolbarSeparatorAnimatorCanceled() {} |
|
dhollowa
2012/08/01 22:26:23
Should be pure virtual. ... = 0;
kuan
2012/08/02 21:54:03
ditto.
|
| + |
| protected: |
| virtual ~ToolbarSearchAnimatorObserver() {} |
| }; |