| Index: chrome/browser/ui/search/search_delegate.h
|
| diff --git a/chrome/browser/ui/search/search_delegate.h b/chrome/browser/ui/search/search_delegate.h
|
| index 26f4f149ab10be37dce84bf380e6df3a8e1a04c6..e8f30c7dd08275e47f55cee6244c896291529e09 100644
|
| --- a/chrome/browser/ui/search/search_delegate.h
|
| +++ b/chrome/browser/ui/search/search_delegate.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "chrome/browser/ui/search/search_model_observer.h"
|
| +#include "chrome/browser/ui/search/toolbar_search_animator.h"
|
|
|
| class TabContents;
|
|
|
| @@ -43,6 +44,10 @@ class SearchDelegate : public SearchModelObserver {
|
| // tab's model.
|
| void OnTabDetached(TabContents* contents);
|
|
|
| + ToolbarSearchAnimator& toolbar_search_animator() {
|
| + return toolbar_search_animator_;
|
| + }
|
| +
|
| private:
|
| // Stop observing tab.
|
| void StopObserveringTab(TabContents* contents);
|
| @@ -55,6 +60,10 @@ class SearchDelegate : public SearchModelObserver {
|
| // tab. Changes to this model are propagated through to the |browser_model_|.
|
| SearchModel* tab_model_;
|
|
|
| + // Animator for fading in toolbar and tab backgrounds when mode changes from
|
| + // NTP to SEARCH.
|
| + ToolbarSearchAnimator toolbar_search_animator_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SearchDelegate);
|
| };
|
|
|
|
|