| Index: chrome/browser/chromeos/login/wizard_accessibility_handler.h
|
| ===================================================================
|
| --- chrome/browser/chromeos/login/wizard_accessibility_handler.h (revision 69334)
|
| +++ chrome/browser/chromeos/login/wizard_accessibility_handler.h (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
|
|
| #include "base/gtest_prod_util.h"
|
| +#include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
|
| #include "chrome/common/notification_observer.h"
|
| #include "chrome/common/notification_source.h"
|
| #include "chrome/common/notification_type.h"
|
| @@ -18,21 +19,6 @@
|
|
|
| namespace chromeos {
|
|
|
| -enum EarconType {
|
| - NO_EARCON,
|
| - EARCON_BUTTON,
|
| - EARCON_CHECK_OFF,
|
| - EARCON_CHECK_ON,
|
| - EARCON_ELLIPSES,
|
| - EARCON_LINK,
|
| - EARCON_LISTBOX,
|
| - EARCON_MENU,
|
| - EARCON_OBJECT_OPENED,
|
| - EARCON_OBJECT_CLOSED,
|
| - EARCON_TAB,
|
| - EARCON_TEXTBOX,
|
| -};
|
| -
|
| // Class that handles the accessibility notifications and generates
|
| // appropriate spoken/audio feedback.
|
| class WizardAccessibilityHandler : public NotificationObserver {
|
| @@ -42,6 +28,9 @@
|
| // Speaks the specified string.
|
| void Speak(const char* speak_str, bool queue, bool interruptible);
|
|
|
| + // Plays the specified earcon
|
| + void PlayEarcon(EarconType earcon_type);
|
| +
|
| private:
|
| // Override from NotificationObserver.
|
| virtual void Observe(NotificationType type,
|
|
|