1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_
8 #include "ui/app_list/speech_ui_model_observer.h"
17 // Manages the strings and assets of the app-list search box.
18 class SearchResourceManager
: public SpeechUIModelObserver
{
20 SearchResourceManager(Profile
* profile
,
21 SearchBoxModel
* search_box
,
22 SpeechUIModel
* speech_ui
);
23 ~SearchResourceManager() override
;
26 // SpeechUIModelObserver overrides:
27 void OnSpeechRecognitionStateChanged(
28 SpeechRecognitionState new_state
) override
;
30 SearchBoxModel
* search_box_
;
31 SpeechUIModel
* speech_ui_
;
33 DISALLOW_COPY_AND_ASSIGN(SearchResourceManager
);
36 } // namespace app_list
38 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_