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 "ash/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
8 #include "ash/magnifier/magnifier_constants.h" | 8 #include "ash/magnifier/magnifier_constants.h" |
9 #include "ash/media_delegate.h" | 9 #include "ash/media_delegate.h" |
10 #include "ash/system/tray/default_system_tray_delegate.h" | 10 #include "ash/system/tray/default_system_tray_delegate.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 return std::numeric_limits<double>::min(); | 116 return std::numeric_limits<double>::min(); |
117 } | 117 } |
118 | 118 |
119 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE { | 119 virtual bool ShouldShowAccessibilityMenu() const OVERRIDE { |
120 return false; | 120 return false; |
121 } | 121 } |
122 | 122 |
123 virtual void SilenceSpokenFeedback() const OVERRIDE { | 123 virtual void SilenceSpokenFeedback() const OVERRIDE { |
124 } | 124 } |
125 | 125 |
| 126 virtual void SetVirtualKeyboardEnabled(bool enabled) OVERRIDE { |
| 127 } |
| 128 |
126 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE { | 129 virtual bool IsVirtualKeyboardEnabled() const OVERRIDE { |
127 return false; | 130 return false; |
128 } | 131 } |
129 | 132 |
130 virtual void TriggerAccessibilityAlert( | 133 virtual void TriggerAccessibilityAlert( |
131 ash::AccessibilityAlert alert) OVERRIDE { | 134 ash::AccessibilityAlert alert) OVERRIDE { |
132 } | 135 } |
133 | 136 |
134 virtual ash::AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE { | 137 virtual ash::AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE { |
135 return ash::A11Y_ALERT_NONE; | 138 return ash::A11Y_ALERT_NONE; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 void ChromeShellDelegate::PlatformInit() { | 251 void ChromeShellDelegate::PlatformInit() { |
249 #if defined(OS_WIN) | 252 #if defined(OS_WIN) |
250 registrar_.Add(this, | 253 registrar_.Add(this, |
251 chrome::NOTIFICATION_ASH_SESSION_STARTED, | 254 chrome::NOTIFICATION_ASH_SESSION_STARTED, |
252 content::NotificationService::AllSources()); | 255 content::NotificationService::AllSources()); |
253 registrar_.Add(this, | 256 registrar_.Add(this, |
254 chrome::NOTIFICATION_ASH_SESSION_ENDED, | 257 chrome::NOTIFICATION_ASH_SESSION_ENDED, |
255 content::NotificationService::AllSources()); | 258 content::NotificationService::AllSources()); |
256 #endif | 259 #endif |
257 } | 260 } |
OLD | NEW |