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

Side by Side Diff: content/public/browser/speech_recognizer_delegate.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: 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_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/common/speech_input_result.h" 9 #include "content/public/common/speech_recognition_traits.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 // An interface to be implemented by consumers interested in receiving 13 // An interface to be implemented by consumers interested in receiving
14 // recognition events. 14 // recognition events.
15 class SpeechRecognizerDelegate { 15 class SpeechRecognizerDelegate {
16 public: 16 public:
17 virtual void SetRecognitionResult(int caller_id, 17 virtual void SetRecognitionResult(int caller_id,
18 const SpeechInputResult& result) = 0; 18 const SpeechInputResult& result) = 0;
19 19
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 float volume, 56 float volume,
57 float noise_volume) = 0; 57 float noise_volume) = 0;
58 58
59 protected: 59 protected:
60 virtual ~SpeechRecognizerDelegate() {} 60 virtual ~SpeechRecognizerDelegate() {}
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_DELEGATE_H_ 65 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNIZER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698