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

Side by Side Diff: chrome/browser/chromeos/login/wizard_accessibility_handler.h

Issue 3442011: Enabling access notifications for login wizard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698