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

Side by Side Diff: ui/app_list/speech_ui_model.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/test/app_list_test_view_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_APP_LIST_SPEECH_UI_MODEL_H_ 5 #ifndef UI_APP_LIST_SPEECH_UI_MODEL_H_
6 #define UI_APP_LIST_SPEECH_UI_MODEL_H_ 6 #define UI_APP_LIST_SPEECH_UI_MODEL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 int16 sound_level_; 45 int16 sound_level_;
46 SpeechRecognitionState state_; 46 SpeechRecognitionState state_;
47 47
48 // The logo image which the speech UI will show at the top-left. 48 // The logo image which the speech UI will show at the top-left.
49 gfx::ImageSkia logo_; 49 gfx::ImageSkia logo_;
50 50
51 // The sound level range to compute visible sound-level. 51 // The sound level range to compute visible sound-level.
52 int16 minimum_sound_level_; 52 int16 minimum_sound_level_;
53 int16 maximum_sound_level_; 53 int16 maximum_sound_level_;
54 54
55 ObserverList<SpeechUIModelObserver> observers_; 55 base::ObserverList<SpeechUIModelObserver> observers_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(SpeechUIModel); 57 DISALLOW_COPY_AND_ASSIGN(SpeechUIModel);
58 }; 58 };
59 59
60 } // namespace app_list 60 } // namespace app_list
61 61
62 #endif // UI_APP_LIST_SPEECH_UI_MODEL_H_ 62 #endif // UI_APP_LIST_SPEECH_UI_MODEL_H_
OLDNEW
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/test/app_list_test_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698