Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Side by Side Diff: chrome/browser/ui/app_list/search/search_resource_manager.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_
7 7
8 #include "ui/app_list/speech_ui_model_observer.h" 8 #include "ui/app_list/speech_ui_model_observer.h"
9 9
10 class Profile; 10 class Profile;
11 11
12 namespace app_list { 12 namespace app_list {
13 13
14 class SearchBoxModel; 14 class SearchBoxModel;
15 class SpeechUIModel; 15 class SpeechUIModel;
16 16
17 // Manages the strings and assets of the app-list search box. 17 // Manages the strings and assets of the app-list search box.
18 class SearchResourceManager : public SpeechUIModelObserver { 18 class SearchResourceManager : public SpeechUIModelObserver {
19 public: 19 public:
20 SearchResourceManager(Profile* profile, 20 SearchResourceManager(Profile* profile,
21 SearchBoxModel* search_box, 21 SearchBoxModel* search_box,
22 SpeechUIModel* speech_ui); 22 SpeechUIModel* speech_ui);
23 virtual ~SearchResourceManager(); 23 ~SearchResourceManager() override;
24 24
25 private: 25 private:
26 // SpeechUIModelObserver overrides: 26 // SpeechUIModelObserver overrides:
27 virtual void OnSpeechRecognitionStateChanged( 27 void OnSpeechRecognitionStateChanged(
28 SpeechRecognitionState new_state) override; 28 SpeechRecognitionState new_state) override;
29 29
30 SearchBoxModel* search_box_; 30 SearchBoxModel* search_box_;
31 SpeechUIModel* speech_ui_; 31 SpeechUIModel* speech_ui_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(SearchResourceManager); 33 DISALLOW_COPY_AND_ASSIGN(SearchResourceManager);
34 }; 34 };
35 35
36 } // namespace app_list 36 } // namespace app_list
37 37
38 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_ 38 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_RESOURCE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698