| 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // Retrieves information about the carrier. If the information cannot be | 229 // Retrieves information about the carrier. If the information cannot be |
| 230 // retrieved, returns false. | 230 // retrieved, returns false. |
| 231 virtual bool GetCellularCarrierInfo(std::string* carrier_id, | 231 virtual bool GetCellularCarrierInfo(std::string* carrier_id, |
| 232 std::string* toup_url) = 0; | 232 std::string* toup_url) = 0; |
| 233 | 233 |
| 234 // Opens the top up url. | 234 // Opens the top up url. |
| 235 virtual void ShowCellularTopupURL(const std::string& topup_url) = 0; | 235 virtual void ShowCellularTopupURL(const std::string& topup_url) = 0; |
| 236 | 236 |
| 237 // Shows UI for changing proxy settings. | 237 // Shows UI for changing proxy settings. |
| 238 virtual void ChangeProxySettings() = 0; | 238 virtual void ChangeProxySettings() = 0; |
| 239 |
| 240 // Called when the tray is destroyed. |
| 241 virtual void OnTrayDestroyed() = 0; |
| 239 }; | 242 }; |
| 240 | 243 |
| 241 } // namespace ash | 244 } // namespace ash |
| 242 | 245 |
| 243 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 246 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |