OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |