OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" | 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "ash/magnifier/magnifier_constants.h" | 8 #include "ash/magnifier/magnifier_constants.h" |
9 #include "chrome/browser/prefs/session_startup_pref.h" | 9 #include "chrome/browser/prefs/session_startup_pref.h" |
10 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 48 } |
49 | 49 |
50 bool ChromeShellDelegate::IsSpokenFeedbackEnabled() const { | 50 bool ChromeShellDelegate::IsSpokenFeedbackEnabled() const { |
51 return false; | 51 return false; |
52 } | 52 } |
53 | 53 |
54 void ChromeShellDelegate::ToggleSpokenFeedback( | 54 void ChromeShellDelegate::ToggleSpokenFeedback( |
55 ash::AccessibilityNotificationVisibility notify) { | 55 ash::AccessibilityNotificationVisibility notify) { |
56 } | 56 } |
57 | 57 |
| 58 void ChromeShellDelegate::SetLargeCursorEnabled(bool enalbed) { |
| 59 } |
| 60 |
| 61 bool ChromeShellDelegate::IsLargeCursorEnabled() const { |
| 62 return false; |
| 63 } |
| 64 |
58 bool ChromeShellDelegate::IsHighContrastEnabled() const { | 65 bool ChromeShellDelegate::IsHighContrastEnabled() const { |
59 return false; | 66 return false; |
60 } | 67 } |
61 | 68 |
62 void ChromeShellDelegate::SetMagnifierEnabled(bool enabled) { | 69 void ChromeShellDelegate::SetMagnifierEnabled(bool enabled) { |
63 } | 70 } |
64 | 71 |
65 void ChromeShellDelegate::SetMagnifierType(ash::MagnifierType type) { | 72 void ChromeShellDelegate::SetMagnifierType(ash::MagnifierType type) { |
66 } | 73 } |
67 | 74 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 void ChromeShellDelegate::PlatformInit() { | 171 void ChromeShellDelegate::PlatformInit() { |
165 #if defined(OS_WIN) | 172 #if defined(OS_WIN) |
166 registrar_.Add(this, | 173 registrar_.Add(this, |
167 chrome::NOTIFICATION_ASH_SESSION_STARTED, | 174 chrome::NOTIFICATION_ASH_SESSION_STARTED, |
168 content::NotificationService::AllSources()); | 175 content::NotificationService::AllSources()); |
169 registrar_.Add(this, | 176 registrar_.Add(this, |
170 chrome::NOTIFICATION_ASH_SESSION_ENDED, | 177 chrome::NOTIFICATION_ASH_SESSION_ENDED, |
171 content::NotificationService::AllSources()); | 178 content::NotificationService::AllSources()); |
172 #endif | 179 #endif |
173 } | 180 } |
OLD | NEW |