| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 virtual void ShowDriveSettings() OVERRIDE { | 85 virtual void ShowDriveSettings() OVERRIDE { |
| 86 } | 86 } |
| 87 | 87 |
| 88 virtual void ShowIMESettings() OVERRIDE { | 88 virtual void ShowIMESettings() OVERRIDE { |
| 89 } | 89 } |
| 90 | 90 |
| 91 virtual void ShowHelp() OVERRIDE { | 91 virtual void ShowHelp() OVERRIDE { |
| 92 } | 92 } |
| 93 | 93 |
| 94 virtual bool IsAudioMuted() const OVERRIDE { | |
| 95 return muted_; | |
| 96 } | |
| 97 | |
| 98 virtual void SetAudioMuted(bool muted) OVERRIDE { | |
| 99 muted_ = muted; | |
| 100 } | |
| 101 | |
| 102 virtual float GetVolumeLevel() const OVERRIDE { | |
| 103 return volume_; | |
| 104 } | |
| 105 | |
| 106 virtual void SetVolumeLevel(float volume) OVERRIDE { | |
| 107 volume_ = volume; | |
| 108 } | |
| 109 | |
| 110 virtual bool IsCapsLockOn() const OVERRIDE { | 94 virtual bool IsCapsLockOn() const OVERRIDE { |
| 111 return caps_lock_enabled_; | 95 return caps_lock_enabled_; |
| 112 } | 96 } |
| 113 | 97 |
| 114 virtual void SetCapsLockEnabled(bool enabled) OVERRIDE { | 98 virtual void SetCapsLockEnabled(bool enabled) OVERRIDE { |
| 115 caps_lock_enabled_ = enabled; | 99 caps_lock_enabled_ = enabled; |
| 116 } | 100 } |
| 117 | 101 |
| 118 virtual void ShutDown() OVERRIDE {} | 102 virtual void ShutDown() OVERRIDE {} |
| 119 | 103 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 return; | 358 return; |
| 375 login_status_ = login_status; | 359 login_status_ = login_status; |
| 376 if (system_tray_) | 360 if (system_tray_) |
| 377 system_tray_->UpdateAfterLoginStatusChange(login_status); | 361 system_tray_->UpdateAfterLoginStatusChange(login_status); |
| 378 if (web_notification_tray_) | 362 if (web_notification_tray_) |
| 379 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); | 363 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); |
| 380 } | 364 } |
| 381 | 365 |
| 382 } // namespace internal | 366 } // namespace internal |
| 383 } // namespace ash | 367 } // namespace ash |
| OLD | NEW |