Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: chrome/browser/chromeos/login/wizard_accessibility_handler.h

Issue 5839003: Fix to enable toggling accessibility using Ctrl+Alt+Z (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698