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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 bool SystemTrayDelegate::GetSessionStartTime( | 143 bool SystemTrayDelegate::GetSessionStartTime( |
144 base::TimeTicks* session_start_time) { | 144 base::TimeTicks* session_start_time) { |
145 return false; | 145 return false; |
146 } | 146 } |
147 | 147 |
148 bool SystemTrayDelegate::GetSessionLengthLimit( | 148 bool SystemTrayDelegate::GetSessionLengthLimit( |
149 base::TimeDelta* session_length_limit) { | 149 base::TimeDelta* session_length_limit) { |
150 return false; | 150 return false; |
151 } | 151 } |
152 | 152 |
| 153 int SystemTrayDelegate::GetSystemTrayMenuWidth() { |
| 154 return 0; |
| 155 } |
| 156 |
153 void SystemTrayDelegate::ActiveUserWasChanged() {} | 157 void SystemTrayDelegate::ActiveUserWasChanged() {} |
154 | 158 |
155 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() { | 159 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() { |
156 return false; | 160 return false; |
157 } | 161 } |
158 | 162 |
159 void SystemTrayDelegate::AddCustodianInfoTrayObserver( | 163 void SystemTrayDelegate::AddCustodianInfoTrayObserver( |
160 CustodianInfoTrayObserver* observer) {} | 164 CustodianInfoTrayObserver* observer) {} |
161 | 165 |
162 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( | 166 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( |
(...skipping 11 matching lines...) Expand all Loading... |
174 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { | 178 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { |
175 return nullptr; | 179 return nullptr; |
176 } | 180 } |
177 | 181 |
178 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( | 182 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( |
179 SystemTray* tray) { | 183 SystemTray* tray) { |
180 return nullptr; | 184 return nullptr; |
181 } | 185 } |
182 | 186 |
183 } // namespace ash | 187 } // namespace ash |
OLD | NEW |