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/system/user/login_status.h" | 12 #include "ash/system/user/login_status.h" |
13 #include "base/i18n/time_formatting.h" | 13 #include "base/i18n/time_formatting.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
16 | 16 |
17 class SkBitmap; | 17 class SkBitmap; |
18 | 18 |
19 namespace ash { | 19 namespace ash { |
20 | 20 |
21 struct NetworkIconInfo { | 21 struct NetworkIconInfo { |
22 NetworkIconInfo(); | |
23 SkBitmap image; | 22 SkBitmap image; |
24 string16 name; | 23 string16 name; |
25 string16 description; | 24 string16 description; |
26 std::string unique_id; | 25 std::string unique_id; |
27 }; | 26 }; |
28 | 27 |
29 class SystemTrayDelegate { | 28 class SystemTrayDelegate { |
30 public: | 29 public: |
31 virtual ~SystemTrayDelegate() {} | 30 virtual ~SystemTrayDelegate() {} |
32 | 31 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // Toggles airplane mode. | 91 // Toggles airplane mode. |
93 virtual void ToggleAirplaneMode() = 0; | 92 virtual void ToggleAirplaneMode() = 0; |
94 | 93 |
95 // Shows UI for changing proxy settings. | 94 // Shows UI for changing proxy settings. |
96 virtual void ChangeProxySettings() = 0; | 95 virtual void ChangeProxySettings() = 0; |
97 }; | 96 }; |
98 | 97 |
99 } // namespace ash | 98 } // namespace ash |
100 | 99 |
101 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 100 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |