| 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/tray_caps_lock.h" | 5 #include "ash/system/tray_caps_lock.h" |
| 6 | 6 |
| 7 #include "ash/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
| 8 #include "ash/resources/grit/ash_resources.h" | |
| 9 #include "ash/resources/vector_icons/vector_icons.h" | 8 #include "ash/resources/vector_icons/vector_icons.h" |
| 10 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 11 #include "ash/shell_port.h" | 10 #include "ash/shell_port.h" |
| 12 #include "ash/strings/grit/ash_strings.h" | 11 #include "ash/strings/grit/ash_strings.h" |
| 13 #include "ash/system/system_notifier.h" | 12 #include "ash/system/system_notifier.h" |
| 14 #include "ash/system/tray/actionable_view.h" | 13 #include "ash/system/tray/actionable_view.h" |
| 15 #include "ash/system/tray/system_tray_delegate.h" | 14 #include "ash/system/tray/system_tray_delegate.h" |
| 16 #include "ash/system/tray/tray_constants.h" | 15 #include "ash/system/tray/tray_constants.h" |
| 17 #include "ash/system/tray/tray_popup_item_style.h" | 16 #include "ash/system/tray/tray_popup_item_style.h" |
| 18 #include "ash/system/tray/tray_popup_utils.h" | 17 #include "ash/system/tray/tray_popup_utils.h" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 default_ = new CapsLockDefaultView; | 223 default_ = new CapsLockDefaultView; |
| 225 default_->Update(caps_lock_enabled_); | 224 default_->Update(caps_lock_enabled_); |
| 226 return default_; | 225 return default_; |
| 227 } | 226 } |
| 228 | 227 |
| 229 void TrayCapsLock::DestroyDefaultView() { | 228 void TrayCapsLock::DestroyDefaultView() { |
| 230 default_ = nullptr; | 229 default_ = nullptr; |
| 231 } | 230 } |
| 232 | 231 |
| 233 } // namespace ash | 232 } // namespace ash |
| OLD | NEW |