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

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

Issue 9663066: Refactoring of chrome speech recognition architecture (CL1.3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compilation issues on windows. Created 8 years, 8 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
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_RECOGNITION_MANAGER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "content/public/common/speech_recognition_result.h" 11 #include "content/public/common/speech_recognition_error.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Rect; 14 class Rect;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 18
19 struct SpeechRecognitionResult; 19 struct SpeechRecognitionResult;
20 20
21 // Allows embedders to display the current state of recognition, for getting the 21 // Allows embedders to display the current state of recognition, for getting the
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void ShowRecognizerError(int caller_id, 64 virtual void ShowRecognizerError(int caller_id,
65 SpeechRecognitionErrorCode error) = 0; 65 SpeechRecognitionErrorCode error) = 0;
66 66
67 // Called when recognition has ended or has been canceled. 67 // Called when recognition has ended or has been canceled.
68 virtual void DoClose(int caller_id) = 0; 68 virtual void DoClose(int caller_id) = 0;
69 }; 69 };
70 70
71 } // namespace content 71 } // namespace content
72 72
73 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 73 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/speech_recognition_event_listener.h ('k') | content/public/browser/speech_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698