| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/system/status_area_widget.h" | 5 #include "ash/system/status_area_widget.h" |
| 6 | 6 |
| 7 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 } | 108 } |
| 109 | 109 |
| 110 virtual bool IsCapsLockOn() const OVERRIDE { | 110 virtual bool IsCapsLockOn() const OVERRIDE { |
| 111 return caps_lock_enabled_; | 111 return caps_lock_enabled_; |
| 112 } | 112 } |
| 113 | 113 |
| 114 virtual void SetCapsLockEnabled(bool enabled) OVERRIDE { | 114 virtual void SetCapsLockEnabled(bool enabled) OVERRIDE { |
| 115 caps_lock_enabled_ = enabled; | 115 caps_lock_enabled_ = enabled; |
| 116 } | 116 } |
| 117 | 117 |
| 118 virtual bool IsInAccessibilityMode() const OVERRIDE { | |
| 119 return false; | |
| 120 } | |
| 121 | |
| 122 virtual void SetEnableSpokenFeedback(bool enable) OVERRIDE {} | |
| 123 | |
| 124 virtual void ShutDown() OVERRIDE {} | 118 virtual void ShutDown() OVERRIDE {} |
| 125 | 119 |
| 126 virtual void SignOut() OVERRIDE { | 120 virtual void SignOut() OVERRIDE { |
| 127 MessageLoop::current()->Quit(); | 121 MessageLoop::current()->Quit(); |
| 128 } | 122 } |
| 129 | 123 |
| 130 virtual void RequestLockScreen() OVERRIDE {} | 124 virtual void RequestLockScreen() OVERRIDE {} |
| 131 | 125 |
| 132 virtual void RequestRestart() OVERRIDE {} | 126 virtual void RequestRestart() OVERRIDE {} |
| 133 | 127 |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 void StatusAreaWidget::HideWebNotificationBubble() { | 368 void StatusAreaWidget::HideWebNotificationBubble() { |
| 375 DCHECK(web_notification_tray_); | 369 DCHECK(web_notification_tray_); |
| 376 web_notification_tray_->HideBubble(); | 370 web_notification_tray_->HideBubble(); |
| 377 // Show any hidden or suppressed system notifications. | 371 // Show any hidden or suppressed system notifications. |
| 378 if (system_tray_) | 372 if (system_tray_) |
| 379 system_tray_->SetHideNotifications(false); | 373 system_tray_->SetHideNotifications(false); |
| 380 } | 374 } |
| 381 | 375 |
| 382 } // namespace internal | 376 } // namespace internal |
| 383 } // namespace ash | 377 } // namespace ash |
| OLD | NEW |