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

Side by Side Diff: chrome/browser/extensions/speech_input/extension_speech_input_api_constants.h

Issue 8201030: Introducing the basic functionality to the speech input experimental API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing media code and dependencies. Addressed in a different patch. Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_SPEECH_INPUT_EXTENSION_SPEECH_INPUT_API_CONSTA NTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_SPEECH_INPUT_EXTENSION_SPEECH_INPUT_API_CONSTA NTS_H_
7
8 namespace extension_speech_input_api_constants {
9
10 extern const char kLanguageKey[];
11 extern const char kGrammarKey[];
12 extern const char kFilterProfanitiesKey[];
13
14 extern const char kErrorNoDevicesAvailable[];
15 extern const char kErrorUnableToStart[];
16 extern const char kErrorRequestDenied[];
17 extern const char kErrorRequestInProgress[];
18 extern const char kErrorInvalidOperation[];
19
20 extern const char kErrorCodeKey[];
21 extern const char kErrorCaptureError[];
22 extern const char kErrorNetworkError[];
23 extern const char kErrorNoSpeechHeard[];
24 extern const char kErrorNoResults[];
25
26 extern const char kUtteranceKey[];
27 extern const char kConfidenceKey[];
28 extern const char kHypothesesKey[];
29
30 extern const char kOnErrorEvent[];
31 extern const char kOnResultEvent[];
32 extern const char kOnSoundStartEvent[];
33 extern const char kOnSoundEndEvent[];
34
35 extern const char kDefaultLanguage[];
36 extern const char kDefaultGrammar[];
37 extern const bool kDefaultFilterProfanities;
38
39 } // namespace extension_speech_input_api_constants.
40
41 #endif // CHROME_BROWSER_EXTENSIONS_SPEECH_INPUT_EXTENSION_SPEECH_INPUT_API_CON STANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698