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