OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ |
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "content/public/browser/speech_recognition_event_listener.h" | 9 #include "content/public/browser/speech_recognition_event_listener.h" |
9 #include "content/public/browser/speech_recognition_manager_delegate.h" | 10 #include "content/public/browser/speech_recognition_manager_delegate.h" |
10 | 11 |
11 namespace extensions { | 12 namespace extensions { |
12 namespace speech { | 13 namespace speech { |
13 | 14 |
14 class ShellSpeechRecognitionManagerDelegate | 15 class ShellSpeechRecognitionManagerDelegate |
15 : public content::SpeechRecognitionManagerDelegate, | 16 : public content::SpeechRecognitionManagerDelegate, |
16 public content::SpeechRecognitionEventListener { | 17 public content::SpeechRecognitionEventListener { |
17 public: | 18 public: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 int render_process_id, | 52 int render_process_id, |
52 int render_view_id); | 53 int render_view_id); |
53 | 54 |
54 DISALLOW_COPY_AND_ASSIGN(ShellSpeechRecognitionManagerDelegate); | 55 DISALLOW_COPY_AND_ASSIGN(ShellSpeechRecognitionManagerDelegate); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace speech | 58 } // namespace speech |
58 } // namespace extensions | 59 } // namespace extensions |
59 | 60 |
60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 61 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |