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