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..c7fa636a4fe4d934a786b161ddfa3ebd59fec0f3 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 |
| + // toollbar gradient background. |
|
dhollowa
2012/07/24 00:24:49
nit: toolbar (spelling)
kuan
2012/07/30 23:21:02
Done.
|
| 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 |
| + // toolbar separator. |
|
dhollowa
2012/07/24 00:24:49
"the toolbar separator"
kuan
2012/07/30 23:21:02
Done.
|
| + virtual void OnToolbarSeparatorAnimatorProgressed() {} |
| + |
| + // Called when toolbar separator animation is canceled and jumps to the end |
|
dhollowa
2012/07/24 00:24:49
"the toolbar separator"
kuan
2012/07/30 23:21:02
Done.
|
| + // state. |
| + virtual void OnToolbarSeparatorAnimatorCanceled() {} |
| + |
| protected: |
| virtual ~ToolbarSearchAnimatorObserver() {} |
| }; |