| 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> |
| 11 | 11 |
| 12 #include "ash/ash_export.h" | 12 #include "ash/ash_export.h" |
| 13 #include "ash/system/user/login_status.h" | 13 #include "ash/system/user/login_status.h" |
| 14 #include "ash/system/power/power_supply_status.h" | 14 #include "ash/system/power/power_supply_status.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/i18n/time_formatting.h" | 16 #include "base/i18n/time_formatting.h" |
| 17 #include "base/string16.h" | 17 #include "base/string16.h" |
| 18 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
| 19 | 19 #include "ui/gfx/image/image_skia.h" |
| 20 class SkBitmap; | |
| 21 | 20 |
| 22 namespace ash { | 21 namespace ash { |
| 23 | 22 |
| 24 struct ASH_EXPORT NetworkIconInfo { | 23 struct ASH_EXPORT NetworkIconInfo { |
| 25 NetworkIconInfo(); | 24 NetworkIconInfo(); |
| 26 ~NetworkIconInfo(); | 25 ~NetworkIconInfo(); |
| 27 | 26 |
| 28 bool highlight; | 27 bool highlight; |
| 29 bool tray_icon_visible; | 28 bool tray_icon_visible; |
| 30 SkBitmap image; | 29 gfx::ImageSkia image; |
| 31 string16 name; | 30 string16 name; |
| 32 string16 description; | 31 string16 description; |
| 33 std::string service_path; | 32 std::string service_path; |
| 34 }; | 33 }; |
| 35 | 34 |
| 36 struct ASH_EXPORT BluetoothDeviceInfo { | 35 struct ASH_EXPORT BluetoothDeviceInfo { |
| 37 BluetoothDeviceInfo(); | 36 BluetoothDeviceInfo(); |
| 38 ~BluetoothDeviceInfo(); | 37 ~BluetoothDeviceInfo(); |
| 39 | 38 |
| 40 std::string address; | 39 std::string address; |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 // Opens the cellular network specific URL. | 283 // Opens the cellular network specific URL. |
| 285 virtual void ShowCellularURL(const std::string& url) = 0; | 284 virtual void ShowCellularURL(const std::string& url) = 0; |
| 286 | 285 |
| 287 // Shows UI for changing proxy settings. | 286 // Shows UI for changing proxy settings. |
| 288 virtual void ChangeProxySettings() = 0; | 287 virtual void ChangeProxySettings() = 0; |
| 289 }; | 288 }; |
| 290 | 289 |
| 291 } // namespace ash | 290 } // namespace ash |
| 292 | 291 |
| 293 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 292 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |