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

Unified Diff: chrome/browser/extensions/speech_input/extension_speech_input_api_constants.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/speech_input/extension_speech_input_api_constants.cc
diff --git a/chrome/browser/extensions/speech_input/extension_speech_input_api_constants.cc b/chrome/browser/extensions/speech_input/extension_speech_input_api_constants.cc
deleted file mode 100644
index 00e063325b9a40e271b57bead2b158f7a75f36d9..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/speech_input/extension_speech_input_api_constants.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/extensions/speech_input/extension_speech_input_api_constants.h"
-
-namespace extension_speech_input_api_constants {
-
-const char kLanguageKey[] = "language";
-const char kGrammarKey[] = "grammar";
-const char kFilterProfanitiesKey[] = "filterProfanities";
-
-const char kErrorNoRecordingDeviceFound[] = "noRecordingDeviceFound";
-const char kErrorRecordingDeviceInUse[] = "recordingDeviceInUse";
-const char kErrorUnableToStart[] = "unableToStart";
-const char kErrorRequestDenied[] = "requestDenied";
-const char kErrorRequestInProgress[] = "requestInProgress";
-const char kErrorInvalidOperation[] = "invalidOperation";
-
-const char kErrorCodeKey[] = "code";
-const char kErrorCaptureError[] = "captureError";
-const char kErrorNetworkError[] = "networkError";
-const char kErrorNoSpeechHeard[] = "noSpeechHeard";
-const char kErrorNoResults[] = "noResults";
-
-const char kUtteranceKey[] = "utterance";
-const char kConfidenceKey[] = "confidence";
-const char kHypothesesKey[] = "hypotheses";
-
-const char kOnErrorEvent[] = "experimental.speechInput.onError";
-const char kOnResultEvent[] = "experimental.speechInput.onResult";
-const char kOnSoundStartEvent[] = "experimental.speechInput.onSoundStart";
-const char kOnSoundEndEvent[] = "experimental.speechInput.onSoundEnd";
-
-const char kDefaultGrammar[] = "builtin:search";
-const bool kDefaultFilterProfanities = true;
-
-} // namespace extension_speech_input_api_constants.

Powered by Google App Engine
This is Rietveld 408576698