Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / app_list / search / search_resource_manager.h
blob369f6cf58782a78e3597402c776015ada6b63bdf
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"
10 class Profile;
12 namespace app_list {
14 class SearchBoxModel;
15 class SpeechUIModel;
17 // Manages the strings and assets of the app-list search box.
18 class SearchResourceManager : public SpeechUIModelObserver {
19 public:
20 SearchResourceManager(Profile* profile,
21 SearchBoxModel* search_box,
22 SpeechUIModel* speech_ui);
23 ~SearchResourceManager() override;
25 private:
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_