| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/notification_observer.h" | 9 #include "chrome/common/notification_observer.h" |
| 10 #include "chrome/common/notification_source.h" | 10 #include "chrome/common/notification_source.h" |
| 11 #include "chrome/common/notification_type.h" | 11 #include "chrome/common/notification_type.h" |
| 12 | 12 |
| 13 // Class that handles the accessibility notifications and generates | 13 // Class that handles the accessibility notifications and generates |
| 14 // appropriate spoken/audio feedback. | 14 // appropriate spoken/audio feedback. |
| 15 class WizardAccessibilityHandler : public NotificationObserver { | 15 class WizardAccessibilityHandler : public NotificationObserver { |
| 16 public: |
| 17 // Speaks the specified string. |
| 18 void Speak(const char* speak_str, bool queue, bool interruptible); |
| 19 |
| 16 private: | 20 private: |
| 17 // Speaks the specified string. | |
| 18 void Speak(const char* speak_str); | |
| 19 | 21 |
| 20 // Override from NotificationObserver. | 22 // Override from NotificationObserver. |
| 21 virtual void Observe(NotificationType type, | 23 virtual void Observe(NotificationType type, |
| 22 const NotificationSource& source, | 24 const NotificationSource& source, |
| 23 const NotificationDetails& details); | 25 const NotificationDetails& details); |
| 24 }; | 26 }; |
| 25 | 27 |
| 26 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HANDLER_H_ | 28 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HANDLER_H_ |
| OLD | NEW |