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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 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 #include "content/renderer/speech_recognition_dispatcher.h" 5 #include "content/renderer/speech_recognition_dispatcher.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "content/common/speech_recognition_messages.h" 9 #include "content/common/speech_recognition_messages.h"
10 #include "content/renderer/render_view_impl.h" 10 #include "content/renderer/render_view_impl.h"
11 #include "third_party/WebKit/public/platform/WebString.h" 11 #include "third_party/WebKit/public/platform/WebString.h"
12 #include "third_party/WebKit/public/platform/WebVector.h" 12 #include "third_party/WebKit/public/platform/WebVector.h"
13 #include "third_party/WebKit/public/web/WebSpeechGrammar.h" 13 #include "third_party/WebKit/public/web/WebSpeechGrammar.h"
14 #include "third_party/WebKit/public/web/WebSpeechRecognitionParams.h" 14 #include "third_party/WebKit/public/web/WebSpeechRecognitionParams.h"
15 #include "third_party/WebKit/public/web/WebSpeechRecognitionResult.h" 15 #include "third_party/WebKit/public/web/WebSpeechRecognitionResult.h"
16 #include "third_party/WebKit/public/web/WebSpeechRecognizerClient.h" 16 #include "third_party/WebKit/public/web/WebSpeechRecognizerClient.h"
17 17
18 using WebKit::WebVector; 18 using blink::WebVector;
19 using WebKit::WebString; 19 using blink::WebString;
20 using WebKit::WebSpeechGrammar; 20 using blink::WebSpeechGrammar;
21 using WebKit::WebSpeechRecognitionHandle; 21 using blink::WebSpeechRecognitionHandle;
22 using WebKit::WebSpeechRecognitionResult; 22 using blink::WebSpeechRecognitionResult;
23 using WebKit::WebSpeechRecognitionParams; 23 using blink::WebSpeechRecognitionParams;
24 using WebKit::WebSpeechRecognizerClient; 24 using blink::WebSpeechRecognizerClient;
25 25
26 namespace content { 26 namespace content {
27 27
28 SpeechRecognitionDispatcher::SpeechRecognitionDispatcher( 28 SpeechRecognitionDispatcher::SpeechRecognitionDispatcher(
29 RenderViewImpl* render_view) 29 RenderViewImpl* render_view)
30 : RenderViewObserver(render_view), 30 : RenderViewObserver(render_view),
31 recognizer_client_(NULL), 31 recognizer_client_(NULL),
32 next_id_(1) { 32 next_id_(1) {
33 } 33 }
34 34
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 const WebSpeechRecognitionHandle& SpeechRecognitionDispatcher::GetHandleFromID( 237 const WebSpeechRecognitionHandle& SpeechRecognitionDispatcher::GetHandleFromID(
238 int request_id) { 238 int request_id) {
239 HandleMap::iterator iter = handle_map_.find(request_id); 239 HandleMap::iterator iter = handle_map_.find(request_id);
240 DCHECK(iter != handle_map_.end()); 240 DCHECK(iter != handle_map_.end());
241 return iter->second; 241 return iter->second;
242 } 242 }
243 243
244 } // namespace content 244 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/speech_recognition_dispatcher.h ('k') | content/renderer/stats_collection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698