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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 return; | 375 return; |
374 login_status_ = login_status; | 376 login_status_ = login_status; |
375 if (system_tray_) | 377 if (system_tray_) |
376 system_tray_->UpdateAfterLoginStatusChange(login_status); | 378 system_tray_->UpdateAfterLoginStatusChange(login_status); |
377 if (web_notification_tray_) | 379 if (web_notification_tray_) |
378 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); | 380 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); |
379 } | 381 } |
380 | 382 |
381 } // namespace internal | 383 } // namespace internal |
382 } // namespace ash | 384 } // namespace ash |
OLD | NEW |