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 { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 bool SystemTrayDelegate::IsUserChild() const { | 70 bool SystemTrayDelegate::IsUserChild() const { |
71 return false; | 71 return false; |
72 } | 72 } |
73 | 73 |
74 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const { | 74 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const { |
75 info->severity = UpdateInfo::UPDATE_NONE; | 75 info->severity = UpdateInfo::UPDATE_NONE; |
76 info->update_required = false; | 76 info->update_required = false; |
77 info->factory_reset_required = false; | 77 info->factory_reset_required = false; |
78 } | 78 } |
79 | 79 |
80 void SystemTrayDelegate::ShowSettings() {} | |
81 | |
82 bool SystemTrayDelegate::ShouldShowSettings() { | 80 bool SystemTrayDelegate::ShouldShowSettings() { |
83 return false; | 81 return false; |
84 } | 82 } |
85 | 83 |
86 void SystemTrayDelegate::ShowSetTimeDialog() {} | 84 void SystemTrayDelegate::ShowSetTimeDialog() {} |
87 | 85 |
88 void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {} | 86 void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {} |
89 | 87 |
90 void SystemTrayDelegate::ShowDisplaySettings() {} | |
91 | |
92 void SystemTrayDelegate::ShowPowerSettings() {} | |
93 | |
94 void SystemTrayDelegate::ShowChromeSlow() {} | |
95 | |
96 bool SystemTrayDelegate::ShouldShowDisplayNotification() { | 88 bool SystemTrayDelegate::ShouldShowDisplayNotification() { |
97 return false; | 89 return false; |
98 } | 90 } |
99 | 91 |
100 void SystemTrayDelegate::ShowIMESettings() {} | |
101 | |
102 void SystemTrayDelegate::ShowHelp() {} | |
103 | |
104 void SystemTrayDelegate::ShowAccessibilityHelp() {} | |
105 | |
106 void SystemTrayDelegate::ShowAccessibilitySettings() {} | |
107 | |
108 void SystemTrayDelegate::ShowPaletteHelp() {} | |
109 | |
110 void SystemTrayDelegate::ShowPaletteSettings() {} | |
111 | |
112 void SystemTrayDelegate::ShowPublicAccountInfo() {} | |
113 | |
114 void SystemTrayDelegate::ShowEnterpriseInfo() {} | 92 void SystemTrayDelegate::ShowEnterpriseInfo() {} |
115 | 93 |
116 void SystemTrayDelegate::ShowUserLogin() {} | 94 void SystemTrayDelegate::ShowUserLogin() {} |
117 | 95 |
118 void SystemTrayDelegate::SignOut() {} | 96 void SystemTrayDelegate::SignOut() {} |
119 | 97 |
120 void SystemTrayDelegate::RequestRestartForUpdate() {} | 98 void SystemTrayDelegate::RequestRestartForUpdate() {} |
121 | 99 |
122 void SystemTrayDelegate::RequestShutdown() {} | 100 void SystemTrayDelegate::RequestShutdown() {} |
123 | 101 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 } | 133 } |
156 | 134 |
157 bool SystemTrayDelegate::GetBluetoothEnabled() { | 135 bool SystemTrayDelegate::GetBluetoothEnabled() { |
158 return false; | 136 return false; |
159 } | 137 } |
160 | 138 |
161 bool SystemTrayDelegate::GetBluetoothDiscovering() { | 139 bool SystemTrayDelegate::GetBluetoothDiscovering() { |
162 return false; | 140 return false; |
163 } | 141 } |
164 | 142 |
165 void SystemTrayDelegate::ShowProxySettings() {} | |
166 | |
167 CastConfigDelegate* SystemTrayDelegate::GetCastConfigDelegate() { | 143 CastConfigDelegate* SystemTrayDelegate::GetCastConfigDelegate() { |
168 return nullptr; | 144 return nullptr; |
169 } | 145 } |
170 | 146 |
171 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate() | 147 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate() |
172 const { | 148 const { |
173 return nullptr; | 149 return nullptr; |
174 } | 150 } |
175 | 151 |
176 VolumeControlDelegate* SystemTrayDelegate::GetVolumeControlDelegate() const { | 152 VolumeControlDelegate* SystemTrayDelegate::GetVolumeControlDelegate() const { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { | 194 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { |
219 return nullptr; | 195 return nullptr; |
220 } | 196 } |
221 | 197 |
222 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( | 198 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( |
223 SystemTray* tray) { | 199 SystemTray* tray) { |
224 return nullptr; | 200 return nullptr; |
225 } | 201 } |
226 | 202 |
227 } // namespace ash | 203 } // namespace ash |
OLD | NEW |