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

Side by Side Diff: content/public/browser/speech_recognizer.h

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_H_
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_H_ 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 28 matching lines...) Expand all
39 // though each recognition request can be made only after the previous one 39 // though each recognition request can be made only after the previous one
40 // completes (i.e. after receiving 40 // completes (i.e. after receiving
41 // SpeechRecognizerDelegate::DidCompleteRecognition). 41 // SpeechRecognizerDelegate::DidCompleteRecognition).
42 virtual bool StartRecording() = 0; 42 virtual bool StartRecording() = 0;
43 43
44 // Stops recording audio and cancels recognition. Any audio recorded so far 44 // Stops recording audio and cancels recognition. Any audio recorded so far
45 // gets discarded. 45 // gets discarded.
46 virtual void CancelRecognition() = 0; 46 virtual void CancelRecognition() = 0;
47 }; 47 };
48 48
49 } // namespace speech_input 49 } // namespace speech
50 50
51 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_H_ 51 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « content/public/browser/speech_recognition_preferences.h ('k') | content/public/browser/speech_recognizer_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698