Home | History | Annotate | Download | only in extensions
      1 // Copyright (c) 2010 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.
      4 
      5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_UTIL_H_
      6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_UTIL_H_
      7 
      8 #include <string>
      9 
     10 #include "base/values.h"
     11 
     12 namespace extension_tts_api_util {
     13 
     14 extern const char kVoiceNameKey[];
     15 extern const char kLocaleKey[];
     16 extern const char kGenderKey[];
     17 extern const char kRateKey[];
     18 extern const char kPitchKey[];
     19 extern const char kVolumeKey[];
     20 extern const char kEnqueueKey[];
     21 
     22 bool ReadNumberByKey(DictionaryValue* dict,
     23                      const char* key,
     24                      double* ret_value);
     25 
     26 }  // namespace extension_tts_api_util.
     27 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_UTIL_H_
     28