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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 return ash::kDefaultMagnifierType; | 109 return ash::kDefaultMagnifierType; |
110 } | 110 } |
111 | 111 |
112 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE { | 112 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE { |
113 } | 113 } |
114 | 114 |
115 virtual double GetSavedScreenMagnifierScale() OVERRIDE { | 115 virtual double GetSavedScreenMagnifierScale() OVERRIDE { |
116 return std::numeric_limits<double>::min(); | 116 return std::numeric_limits<double>::min(); |
117 } | 117 } |
118 | 118 |
119 virtual bool ShouldAlwaysShowAccessibilityMenu() 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 TriggerAccessibilityAlert( | 126 virtual void TriggerAccessibilityAlert( |
127 ash::AccessibilityAlert alert) OVERRIDE { | 127 ash::AccessibilityAlert alert) OVERRIDE { |
128 } | 128 } |
129 | 129 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 void ChromeShellDelegate::PlatformInit() { | 244 void ChromeShellDelegate::PlatformInit() { |
245 #if defined(OS_WIN) | 245 #if defined(OS_WIN) |
246 registrar_.Add(this, | 246 registrar_.Add(this, |
247 chrome::NOTIFICATION_ASH_SESSION_STARTED, | 247 chrome::NOTIFICATION_ASH_SESSION_STARTED, |
248 content::NotificationService::AllSources()); | 248 content::NotificationService::AllSources()); |
249 registrar_.Add(this, | 249 registrar_.Add(this, |
250 chrome::NOTIFICATION_ASH_SESSION_ENDED, | 250 chrome::NOTIFICATION_ASH_SESSION_ENDED, |
251 content::NotificationService::AllSources()); | 251 content::NotificationService::AllSources()); |
252 #endif | 252 #endif |
253 } | 253 } |
OLD | NEW |