| 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 void ShutDown() OVERRIDE {} | 118 virtual void ShutDown() OVERRIDE { |
| 119 MessageLoop::current()->Quit(); |
| 120 } |
| 119 | 121 |
| 120 virtual void SignOut() OVERRIDE { | 122 virtual void SignOut() OVERRIDE { |
| 121 MessageLoop::current()->Quit(); | 123 MessageLoop::current()->Quit(); |
| 122 } | 124 } |
| 123 | 125 |
| 124 virtual void RequestLockScreen() OVERRIDE {} | 126 virtual void RequestLockScreen() OVERRIDE {} |
| 125 | 127 |
| 126 virtual void RequestRestart() OVERRIDE {} | 128 virtual void RequestRestart() OVERRIDE {} |
| 127 | 129 |
| 128 virtual void GetAvailableBluetoothDevices( | 130 virtual void GetAvailableBluetoothDevices( |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 user::LoginStatus login_status) { | 380 user::LoginStatus login_status) { |
| 379 login_status_ = login_status; | 381 login_status_ = login_status; |
| 380 if (system_tray_) | 382 if (system_tray_) |
| 381 system_tray_->UpdateAfterLoginStatusChange(login_status); | 383 system_tray_->UpdateAfterLoginStatusChange(login_status); |
| 382 if (web_notification_tray_) | 384 if (web_notification_tray_) |
| 383 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); | 385 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); |
| 384 } | 386 } |
| 385 | 387 |
| 386 } // namespace internal | 388 } // namespace internal |
| 387 } // namespace ash | 389 } // namespace ash |
| OLD | NEW |