| 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/common/system/tray/system_tray_delegate.h" | 5 #include "ash/common/system/tray/system_tray_delegate.h" |
| 6 | 6 |
| 7 #include "ash/common/system/tray/ime_info.h" | 7 #include "ash/common/system/tray/ime_info.h" |
| 8 #include "ash/common/system/tray/system_tray_item.h" | 8 #include "ash/common/system/tray/system_tray_item.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| 11 | 11 |
| 12 BluetoothDeviceInfo::BluetoothDeviceInfo() | 12 BluetoothDeviceInfo::BluetoothDeviceInfo() |
| 13 : connected(false), connecting(false), paired(false) {} | 13 : connected(false), connecting(false), paired(false) {} |
| 14 | 14 |
| 15 BluetoothDeviceInfo::BluetoothDeviceInfo(const BluetoothDeviceInfo& other) = | 15 BluetoothDeviceInfo::BluetoothDeviceInfo(const BluetoothDeviceInfo& other) = |
| 16 default; | 16 default; |
| 17 | 17 |
| 18 BluetoothDeviceInfo::~BluetoothDeviceInfo() {} | 18 BluetoothDeviceInfo::~BluetoothDeviceInfo() {} |
| 19 | 19 |
| 20 UpdateInfo::UpdateInfo() | |
| 21 : severity(UPDATE_NONE), | |
| 22 update_required(false), | |
| 23 factory_reset_required(false) {} | |
| 24 | |
| 25 UpdateInfo::~UpdateInfo() {} | |
| 26 | |
| 27 SystemTrayDelegate::SystemTrayDelegate() {} | 20 SystemTrayDelegate::SystemTrayDelegate() {} |
| 28 | 21 |
| 29 SystemTrayDelegate::~SystemTrayDelegate() {} | 22 SystemTrayDelegate::~SystemTrayDelegate() {} |
| 30 | 23 |
| 31 void SystemTrayDelegate::Initialize() {} | 24 void SystemTrayDelegate::Initialize() {} |
| 32 | 25 |
| 33 LoginStatus SystemTrayDelegate::GetUserLoginStatus() const { | 26 LoginStatus SystemTrayDelegate::GetUserLoginStatus() const { |
| 34 return LoginStatus::NOT_LOGGED_IN; | 27 return LoginStatus::NOT_LOGGED_IN; |
| 35 } | 28 } |
| 36 | 29 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 59 } | 52 } |
| 60 | 53 |
| 61 bool SystemTrayDelegate::IsUserSupervised() const { | 54 bool SystemTrayDelegate::IsUserSupervised() const { |
| 62 return false; | 55 return false; |
| 63 } | 56 } |
| 64 | 57 |
| 65 bool SystemTrayDelegate::IsUserChild() const { | 58 bool SystemTrayDelegate::IsUserChild() const { |
| 66 return false; | 59 return false; |
| 67 } | 60 } |
| 68 | 61 |
| 69 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const { | |
| 70 info->severity = UpdateInfo::UPDATE_NONE; | |
| 71 info->update_required = false; | |
| 72 info->factory_reset_required = false; | |
| 73 } | |
| 74 | |
| 75 bool SystemTrayDelegate::ShouldShowSettings() const { | 62 bool SystemTrayDelegate::ShouldShowSettings() const { |
| 76 return false; | 63 return false; |
| 77 } | 64 } |
| 78 | 65 |
| 79 bool SystemTrayDelegate::ShouldShowNotificationTray() const { | 66 bool SystemTrayDelegate::ShouldShowNotificationTray() const { |
| 80 return false; | 67 return false; |
| 81 } | 68 } |
| 82 | 69 |
| 83 void SystemTrayDelegate::ShowEnterpriseInfo() {} | 70 void SystemTrayDelegate::ShowEnterpriseInfo() {} |
| 84 | 71 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 140 |
| 154 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( | 141 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( |
| 155 CustodianInfoTrayObserver* observer) {} | 142 CustodianInfoTrayObserver* observer) {} |
| 156 | 143 |
| 157 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( | 144 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( |
| 158 SystemTray* tray) { | 145 SystemTray* tray) { |
| 159 return nullptr; | 146 return nullptr; |
| 160 } | 147 } |
| 161 | 148 |
| 162 } // namespace ash | 149 } // namespace ash |
| OLD | NEW |