| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/extensions/extension_tts_api_constants.h" | 5 #include "chrome/browser/speech/extension_api/tts_extension_api_constants.h" |
| 6 | 6 |
| 7 namespace extension_tts_api_constants { | 7 namespace tts_extension_api_constants { |
| 8 | 8 |
| 9 const char kVoiceNameKey[] = "voiceName"; | 9 const char kVoiceNameKey[] = "voiceName"; |
| 10 const char kLangKey[] = "lang"; | 10 const char kLangKey[] = "lang"; |
| 11 const char kGenderKey[] = "gender"; | 11 const char kGenderKey[] = "gender"; |
| 12 const char kRateKey[] = "rate"; | 12 const char kRateKey[] = "rate"; |
| 13 const char kPitchKey[] = "pitch"; | 13 const char kPitchKey[] = "pitch"; |
| 14 const char kVolumeKey[] = "volume"; | 14 const char kVolumeKey[] = "volume"; |
| 15 const char kEnqueueKey[] = "enqueue"; | 15 const char kEnqueueKey[] = "enqueue"; |
| 16 const char kEventTypeKey[] = "type"; | 16 const char kEventTypeKey[] = "type"; |
| 17 const char kEventTypesKey[] = "eventTypes"; | 17 const char kEventTypesKey[] = "eventTypes"; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 const char kErrorUndeclaredEventType[] = | 40 const char kErrorUndeclaredEventType[] = |
| 41 "Cannot send an event type that is not declared in the extension manifest."; | 41 "Cannot send an event type that is not declared in the extension manifest."; |
| 42 const char kErrorUtteranceTooLong[] = "Utterance length is too long."; | 42 const char kErrorUtteranceTooLong[] = "Utterance length is too long."; |
| 43 const char kErrorInvalidLang[] = "Invalid lang."; | 43 const char kErrorInvalidLang[] = "Invalid lang."; |
| 44 const char kErrorInvalidGender[] = "Invalid gender."; | 44 const char kErrorInvalidGender[] = "Invalid gender."; |
| 45 const char kErrorInvalidRate[] = "Invalid rate."; | 45 const char kErrorInvalidRate[] = "Invalid rate."; |
| 46 const char kErrorInvalidPitch[] = "Invalid pitch."; | 46 const char kErrorInvalidPitch[] = "Invalid pitch."; |
| 47 const char kErrorInvalidVolume[] = "Invalid volume."; | 47 const char kErrorInvalidVolume[] = "Invalid volume."; |
| 48 | 48 |
| 49 } // namespace extension_tts_api_constants. | 49 } // namespace tts_extension_api_constants. |
| OLD | NEW |