Chromium Code Reviews| 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/system_tray_item.h" | |
| 8 | |
| 7 namespace ash { | 9 namespace ash { |
| 8 | 10 |
| 9 NetworkIconInfo::NetworkIconInfo() | 11 NetworkIconInfo::NetworkIconInfo() |
| 10 : connecting(false), | 12 : connecting(false), |
| 11 connected(false), | 13 connected(false), |
| 12 tray_icon_visible(true), | 14 tray_icon_visible(true), |
| 13 is_cellular(false) {} | 15 is_cellular(false) {} |
| 14 | 16 |
| 15 NetworkIconInfo::~NetworkIconInfo() {} | 17 NetworkIconInfo::~NetworkIconInfo() {} |
| 16 | 18 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 bool SystemTrayDelegate::ShouldShowSettings() { | 97 bool SystemTrayDelegate::ShouldShowSettings() { |
| 96 return false; | 98 return false; |
| 97 } | 99 } |
| 98 | 100 |
| 99 void SystemTrayDelegate::ShowDateSettings() {} | 101 void SystemTrayDelegate::ShowDateSettings() {} |
| 100 | 102 |
| 101 void SystemTrayDelegate::ShowSetTimeDialog() {} | 103 void SystemTrayDelegate::ShowSetTimeDialog() {} |
| 102 | 104 |
| 103 void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {} | 105 void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {} |
| 104 | 106 |
| 107 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateDisplayTrayItem( | |
| 108 SystemTray* tray) { | |
| 109 return nullptr; | |
|
msw
2016/07/13 18:51:49
nit: NOTIMPLEMENTED? (seems like others omit, so m
James Cook
2016/07/13 21:30:46
I kept it the same since none of the other ones us
| |
| 110 } | |
| 111 | |
| 105 void SystemTrayDelegate::ShowDisplaySettings() {} | 112 void SystemTrayDelegate::ShowDisplaySettings() {} |
| 106 | 113 |
| 107 void SystemTrayDelegate::ShowPowerSettings() {} | 114 void SystemTrayDelegate::ShowPowerSettings() {} |
| 108 | 115 |
| 109 void SystemTrayDelegate::ShowChromeSlow() {} | 116 void SystemTrayDelegate::ShowChromeSlow() {} |
| 110 | 117 |
| 111 bool SystemTrayDelegate::ShouldShowDisplayNotification() { | 118 bool SystemTrayDelegate::ShouldShowDisplayNotification() { |
| 112 return false; | 119 return false; |
| 113 } | 120 } |
| 114 | 121 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 228 ShutdownPolicyObserver* observer) {} | 235 ShutdownPolicyObserver* observer) {} |
| 229 | 236 |
| 230 void SystemTrayDelegate::ShouldRebootOnShutdown( | 237 void SystemTrayDelegate::ShouldRebootOnShutdown( |
| 231 const RebootOnShutdownCallback& callback) {} | 238 const RebootOnShutdownCallback& callback) {} |
| 232 | 239 |
| 233 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { | 240 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { |
| 234 return nullptr; | 241 return nullptr; |
| 235 } | 242 } |
| 236 | 243 |
| 237 } // namespace ash | 244 } // namespace ash |
| OLD | NEW |