Roll src/third_party/WebKit f298044:aa8346d (svn 202628:202629)
[chromium-blink-merge.git] / chrome / common / tts_utterance_request.h
blobe3dcf1803ea4a16e17a86432e60dea3a5998f81f
1 // Copyright (c) 2013 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.
5 #ifndef CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
6 #define CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "base/strings/string16.h"
13 struct TtsUtteranceRequest {
14 TtsUtteranceRequest();
15 ~TtsUtteranceRequest();
17 int id;
18 std::string text;
19 std::string lang;
20 std::string voice;
21 float volume;
22 float rate;
23 float pitch;
26 struct TtsVoice {
27 TtsVoice();
28 ~TtsVoice();
30 std::string voice_uri;
31 std::string name;
32 std::string lang;
33 bool local_service;
34 bool is_default;
37 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_