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

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

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_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"
(...skipping 26 matching lines...) Expand all
37 public blink::WebSpeechRecognizer { 37 public blink::WebSpeechRecognizer {
38 public: 38 public:
39 explicit SpeechRecognitionDispatcher(RenderViewImpl* render_view); 39 explicit SpeechRecognitionDispatcher(RenderViewImpl* render_view);
40 virtual ~SpeechRecognitionDispatcher(); 40 virtual ~SpeechRecognitionDispatcher();
41 41
42 // Aborts all speech recognitions. 42 // Aborts all speech recognitions.
43 void AbortAllRecognitions(); 43 void AbortAllRecognitions();
44 44
45 private: 45 private:
46 // RenderViewObserver implementation. 46 // RenderViewObserver implementation.
47 virtual bool OnMessageReceived(const IPC::Message& message) override; 47 bool OnMessageReceived(const IPC::Message& message) override;
48 48
49 // blink::WebSpeechRecognizer implementation. 49 // blink::WebSpeechRecognizer implementation.
50 virtual void start(const blink::WebSpeechRecognitionHandle&, 50 virtual void start(const blink::WebSpeechRecognitionHandle&,
51 const blink::WebSpeechRecognitionParams&, 51 const blink::WebSpeechRecognitionParams&,
52 blink::WebSpeechRecognizerClient*); 52 blink::WebSpeechRecognizerClient*);
53 virtual void stop(const blink::WebSpeechRecognitionHandle&, 53 virtual void stop(const blink::WebSpeechRecognitionHandle&,
54 blink::WebSpeechRecognizerClient*); 54 blink::WebSpeechRecognizerClient*);
55 virtual void abort(const blink::WebSpeechRecognitionHandle&, 55 virtual void abort(const blink::WebSpeechRecognitionHandle&,
56 blink::WebSpeechRecognizerClient*); 56 blink::WebSpeechRecognizerClient*);
57 57
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 typedef std::map<int, blink::WebSpeechRecognitionHandle> HandleMap; 90 typedef std::map<int, blink::WebSpeechRecognitionHandle> HandleMap;
91 HandleMap handle_map_; 91 HandleMap handle_map_;
92 int next_id_; 92 int next_id_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionDispatcher); 94 DISALLOW_COPY_AND_ASSIGN(SpeechRecognitionDispatcher);
95 }; 95 };
96 96
97 } // namespace content 97 } // namespace content
98 98
99 #endif // CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_ 99 #endif // CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/skia_benchmarking_extension.h ('k') | content/renderer/stats_collection_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698