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

Side by Side Diff: content/renderer/speech_recognition_dispatcher.h

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_
6 #define CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_ 6 #define CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "content/public/common/speech_recognition_result.h" 11 #include "content/public/common/speech_recognition_result.h"
12 #include "content/public/renderer/render_view_observer.h" 12 #include "content/public/renderer/render_view_observer.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 13 #include "third_party/WebKit/public/platform/WebVector.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechRecognitionH andle.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechRecognitionH andle.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechRecognizer.h " 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechRecognizer.h "
16 16
17 namespace content { 17 namespace content {
18 class RenderViewImpl; 18 class RenderViewImpl;
19 struct SpeechRecognitionError; 19 struct SpeechRecognitionError;
20 struct SpeechRecognitionResult; 20 struct SpeechRecognitionResult;
21 21
22 // SpeechRecognitionDispatcher is a delegate for methods used by WebKit for 22 // SpeechRecognitionDispatcher is a delegate for methods used by WebKit for
23 // scripted JS speech APIs. It's the complement of 23 // scripted JS speech APIs. It's the complement of
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 typedef std::map<int, WebKit::WebSpeechRecognitionHandle> HandleMap; 61 typedef std::map<int, WebKit::WebSpeechRecognitionHandle> HandleMap;
62 HandleMap handle_map_; 62 HandleMap handle_map_;
63 int next_id_; 63 int next_id_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionDispatcher); 65 DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionDispatcher);
66 }; 66 };
67 67
68 } // namespace content 68 } // namespace content
69 69
70 #endif // CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_ 70 #endif // CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/savable_resources.cc ('k') | content/renderer/speech_recognition_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698