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 NetworkIconInfo::NetworkIconInfo() | 12 NetworkIconInfo::NetworkIconInfo() |
13 : connecting(false), | 13 : connecting(false), |
14 connected(false), | 14 connected(false), |
15 tray_icon_visible(true), | 15 tray_icon_visible(true), |
16 is_cellular(false) {} | 16 is_cellular(false) {} |
17 | 17 |
18 NetworkIconInfo::~NetworkIconInfo() {} | 18 NetworkIconInfo::~NetworkIconInfo() {} |
19 | 19 |
20 BluetoothDeviceInfo::BluetoothDeviceInfo() | 20 BluetoothDeviceInfo::BluetoothDeviceInfo() |
21 : connected(false), connecting(false), paired(false) {} | 21 : connected(false), connecting(false), paired(false) {} |
22 | 22 |
23 BluetoothDeviceInfo::~BluetoothDeviceInfo() {} | 23 BluetoothDeviceInfo::~BluetoothDeviceInfo() {} |
24 | 24 |
25 UpdateInfo::UpdateInfo() | 25 UpdateInfo::UpdateInfo() |
26 : severity(UPDATE_NORMAL), | 26 : severity(UPDATE_NONE), |
27 update_required(false), | 27 update_required(false), |
28 factory_reset_required(false) {} | 28 factory_reset_required(false) {} |
29 | 29 |
30 UpdateInfo::~UpdateInfo() {} | 30 UpdateInfo::~UpdateInfo() {} |
31 | 31 |
32 SystemTrayDelegate::SystemTrayDelegate() {} | 32 SystemTrayDelegate::SystemTrayDelegate() {} |
33 | 33 |
34 SystemTrayDelegate::~SystemTrayDelegate() {} | 34 SystemTrayDelegate::~SystemTrayDelegate() {} |
35 | 35 |
36 void SystemTrayDelegate::Initialize() {} | 36 void SystemTrayDelegate::Initialize() {} |
(...skipping 30 matching lines...) Expand all Loading... |
67 | 67 |
68 bool SystemTrayDelegate::IsUserSupervised() const { | 68 bool SystemTrayDelegate::IsUserSupervised() const { |
69 return false; | 69 return false; |
70 } | 70 } |
71 | 71 |
72 bool SystemTrayDelegate::IsUserChild() const { | 72 bool SystemTrayDelegate::IsUserChild() const { |
73 return false; | 73 return false; |
74 } | 74 } |
75 | 75 |
76 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const { | 76 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const { |
77 info->severity = UpdateInfo::UPDATE_NORMAL; | 77 info->severity = UpdateInfo::UPDATE_NONE; |
78 info->update_required = false; | 78 info->update_required = false; |
79 info->factory_reset_required = false; | 79 info->factory_reset_required = false; |
80 } | 80 } |
81 | 81 |
82 base::HourClockType SystemTrayDelegate::GetHourClockType() const { | 82 base::HourClockType SystemTrayDelegate::GetHourClockType() const { |
83 return base::k24HourClock; | 83 return base::k24HourClock; |
84 } | 84 } |
85 | 85 |
86 void SystemTrayDelegate::ShowSettings() {} | 86 void SystemTrayDelegate::ShowSettings() {} |
87 | 87 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 SystemTray* tray) { | 233 SystemTray* tray) { |
234 return nullptr; | 234 return nullptr; |
235 } | 235 } |
236 | 236 |
237 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( | 237 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( |
238 SystemTray* tray) { | 238 SystemTray* tray) { |
239 return nullptr; | 239 return nullptr; |
240 } | 240 } |
241 | 241 |
242 } // namespace ash | 242 } // namespace ash |
OLD | NEW |