| OLD | NEW |
| 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 CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_MANAGER_H_ | 6 #define CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
| 15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 16 #include "content/public/browser/speech_recognition_event_listener.h" | 16 #include "content/public/browser/speech_recognition_event_listener.h" |
| 17 | 17 |
| 18 class Extension; | |
| 19 class Profile; | 18 class Profile; |
| 20 class SpeechRecognitionTrayIconController; | 19 class SpeechRecognitionTrayIconController; |
| 21 | 20 |
| 22 namespace content { | 21 namespace content { |
| 23 class NotificationRegistrar; | 22 class NotificationRegistrar; |
| 24 struct SpeechRecognitionError; | 23 struct SpeechRecognitionError; |
| 25 struct SpeechRecognitionResult; | 24 struct SpeechRecognitionResult; |
| 26 class SpeechRecognizer; | 25 class SpeechRecognizer; |
| 27 } | 26 } |
| 28 | 27 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // Used in the UI thread. | 196 // Used in the UI thread. |
| 198 scoped_ptr<content::NotificationRegistrar> registrar_; | 197 scoped_ptr<content::NotificationRegistrar> registrar_; |
| 199 SpeechInputExtensionInterface* speech_interface_; | 198 SpeechInputExtensionInterface* speech_interface_; |
| 200 scoped_refptr<SpeechRecognitionTrayIconController> notification_; | 199 scoped_refptr<SpeechRecognitionTrayIconController> notification_; |
| 201 | 200 |
| 202 // Used in the IO thread. | 201 // Used in the IO thread. |
| 203 scoped_refptr<content::SpeechRecognizer> recognizer_; | 202 scoped_refptr<content::SpeechRecognizer> recognizer_; |
| 204 }; | 203 }; |
| 205 | 204 |
| 206 #endif // CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_MANAGER_H_ | 205 #endif // CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_MANAGER_H_ |
| OLD | NEW |