| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HELPER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 WizardAccessibilityHelper(); | 52 WizardAccessibilityHelper(); |
| 53 | 53 |
| 54 virtual ~WizardAccessibilityHelper(); | 54 virtual ~WizardAccessibilityHelper(); |
| 55 | 55 |
| 56 void RegisterNotifications(); | 56 void RegisterNotifications(); |
| 57 | 57 |
| 58 bool IsAccessibilityEnabled(); | 58 bool IsAccessibilityEnabled(); |
| 59 | 59 |
| 60 void SetAccessibilityEnabled(bool); | 60 void SetAccessibilityEnabled(bool); |
| 61 | 61 |
| 62 static scoped_ptr<ui::Accelerator> accelerator_; | |
| 63 | |
| 64 scoped_ptr<WizardAccessibilityHandler> accessibility_handler_; | 62 scoped_ptr<WizardAccessibilityHandler> accessibility_handler_; |
| 65 | 63 |
| 66 Profile* profile_; | 64 Profile* profile_; |
| 67 | 65 |
| 68 // Used for tracking registrations to accessibility notifications. | 66 // Used for tracking registrations to accessibility notifications. |
| 69 content::NotificationRegistrar registrar_; | 67 content::NotificationRegistrar registrar_; |
| 70 | 68 |
| 71 bool registered_notifications_; | 69 bool registered_notifications_; |
| 72 | 70 |
| 73 DISALLOW_COPY_AND_ASSIGN(WizardAccessibilityHelper); | 71 DISALLOW_COPY_AND_ASSIGN(WizardAccessibilityHelper); |
| 74 }; | 72 }; |
| 75 | 73 |
| 76 } // namespace chromeos | 74 } // namespace chromeos |
| 77 | 75 |
| 78 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HELPER_H_ | 76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_ACCESSIBILITY_HELPER_H_ |
| OLD | NEW |