| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ash/common/system/tray/system_tray_delegate.h" | |
| 6 | |
| 7 #include "ash/common/system/tray/ime_info.h" | |
| 8 #include "ash/common/system/tray/system_tray_item.h" | |
| 9 | |
| 10 namespace ash { | |
| 11 | |
| 12 BluetoothDeviceInfo::BluetoothDeviceInfo() | |
| 13 : connected(false), connecting(false), paired(false) {} | |
| 14 | |
| 15 BluetoothDeviceInfo::BluetoothDeviceInfo(const BluetoothDeviceInfo& other) = | |
| 16 default; | |
| 17 | |
| 18 BluetoothDeviceInfo::~BluetoothDeviceInfo() {} | |
| 19 | |
| 20 SystemTrayDelegate::SystemTrayDelegate() {} | |
| 21 | |
| 22 SystemTrayDelegate::~SystemTrayDelegate() {} | |
| 23 | |
| 24 void SystemTrayDelegate::Initialize() {} | |
| 25 | |
| 26 LoginStatus SystemTrayDelegate::GetUserLoginStatus() const { | |
| 27 return LoginStatus::NOT_LOGGED_IN; | |
| 28 } | |
| 29 | |
| 30 std::string SystemTrayDelegate::GetEnterpriseDomain() const { | |
| 31 return std::string(); | |
| 32 } | |
| 33 | |
| 34 std::string SystemTrayDelegate::GetEnterpriseRealm() const { | |
| 35 return std::string(); | |
| 36 } | |
| 37 | |
| 38 base::string16 SystemTrayDelegate::GetEnterpriseMessage() const { | |
| 39 return base::string16(); | |
| 40 } | |
| 41 | |
| 42 std::string SystemTrayDelegate::GetSupervisedUserManager() const { | |
| 43 return std::string(); | |
| 44 } | |
| 45 | |
| 46 base::string16 SystemTrayDelegate::GetSupervisedUserManagerName() const { | |
| 47 return base::string16(); | |
| 48 } | |
| 49 | |
| 50 base::string16 SystemTrayDelegate::GetSupervisedUserMessage() const { | |
| 51 return base::string16(); | |
| 52 } | |
| 53 | |
| 54 bool SystemTrayDelegate::IsUserSupervised() const { | |
| 55 return false; | |
| 56 } | |
| 57 | |
| 58 bool SystemTrayDelegate::IsUserChild() const { | |
| 59 return false; | |
| 60 } | |
| 61 | |
| 62 bool SystemTrayDelegate::ShouldShowSettings() const { | |
| 63 return false; | |
| 64 } | |
| 65 | |
| 66 bool SystemTrayDelegate::ShouldShowNotificationTray() const { | |
| 67 return false; | |
| 68 } | |
| 69 | |
| 70 void SystemTrayDelegate::ShowEnterpriseInfo() {} | |
| 71 | |
| 72 void SystemTrayDelegate::ShowUserLogin() {} | |
| 73 | |
| 74 void SystemTrayDelegate::GetAvailableBluetoothDevices( | |
| 75 BluetoothDeviceList* list) {} | |
| 76 | |
| 77 void SystemTrayDelegate::BluetoothStartDiscovering() {} | |
| 78 | |
| 79 void SystemTrayDelegate::BluetoothStopDiscovering() {} | |
| 80 | |
| 81 void SystemTrayDelegate::ConnectToBluetoothDevice(const std::string& address) {} | |
| 82 | |
| 83 void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {} | |
| 84 | |
| 85 void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {} | |
| 86 | |
| 87 void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {} | |
| 88 | |
| 89 base::string16 SystemTrayDelegate::GetIMEManagedMessage() { | |
| 90 return base::string16(); | |
| 91 } | |
| 92 | |
| 93 void SystemTrayDelegate::SwitchIME(const std::string& ime_id) {} | |
| 94 | |
| 95 void SystemTrayDelegate::ActivateIMEProperty(const std::string& key) {} | |
| 96 | |
| 97 void SystemTrayDelegate::ManageBluetoothDevices() {} | |
| 98 | |
| 99 void SystemTrayDelegate::ToggleBluetooth() {} | |
| 100 | |
| 101 bool SystemTrayDelegate::IsBluetoothDiscovering() const { | |
| 102 return false; | |
| 103 } | |
| 104 | |
| 105 bool SystemTrayDelegate::GetBluetoothAvailable() { | |
| 106 return false; | |
| 107 } | |
| 108 | |
| 109 bool SystemTrayDelegate::GetBluetoothEnabled() { | |
| 110 return false; | |
| 111 } | |
| 112 | |
| 113 bool SystemTrayDelegate::GetBluetoothDiscovering() { | |
| 114 return false; | |
| 115 } | |
| 116 | |
| 117 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate() | |
| 118 const { | |
| 119 return nullptr; | |
| 120 } | |
| 121 | |
| 122 bool SystemTrayDelegate::GetSessionStartTime( | |
| 123 base::TimeTicks* session_start_time) { | |
| 124 return false; | |
| 125 } | |
| 126 | |
| 127 bool SystemTrayDelegate::GetSessionLengthLimit( | |
| 128 base::TimeDelta* session_length_limit) { | |
| 129 return false; | |
| 130 } | |
| 131 | |
| 132 int SystemTrayDelegate::GetSystemTrayMenuWidth() { | |
| 133 return 0; | |
| 134 } | |
| 135 | |
| 136 void SystemTrayDelegate::ActiveUserWasChanged() {} | |
| 137 | |
| 138 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() { | |
| 139 return false; | |
| 140 } | |
| 141 | |
| 142 void SystemTrayDelegate::AddCustodianInfoTrayObserver( | |
| 143 CustodianInfoTrayObserver* observer) {} | |
| 144 | |
| 145 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( | |
| 146 CustodianInfoTrayObserver* observer) {} | |
| 147 | |
| 148 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( | |
| 149 SystemTray* tray) { | |
| 150 return nullptr; | |
| 151 } | |
| 152 | |
| 153 } // namespace ash | |
| OLD | NEW |