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

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

Issue 8386074: Add a tray notification UI for speech input recording in the extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: creating the notification object dynamically on first use. Created 9 years, 1 month 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 kErrorNoRecordingDeviceFound[];
15 extern const char kErrorRecordingDeviceInUse[];
16 extern const char kErrorUnableToStart[];
17 extern const char kErrorRequestDenied[];
18 extern const char kErrorRequestInProgress[];
19 extern const char kErrorInvalidOperation[];
20
21 extern const char kErrorCodeKey[];
22 extern const char kErrorCaptureError[];
23 extern const char kErrorNetworkError[];
24 extern const char kErrorNoSpeechHeard[];
25 extern const char kErrorNoResults[];
26
27 extern const char kUtteranceKey[];
28 extern const char kConfidenceKey[];
29 extern const char kHypothesesKey[];
30
31 extern const char kOnErrorEvent[];
32 extern const char kOnResultEvent[];
33 extern const char kOnSoundStartEvent[];
34 extern const char kOnSoundEndEvent[];
35
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