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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 string16 name; | 82 string16 name; |
83 }; | 83 }; |
84 | 84 |
85 typedef std::vector<IMEPropertyInfo> IMEPropertyInfoList; | 85 typedef std::vector<IMEPropertyInfo> IMEPropertyInfoList; |
86 | 86 |
87 struct ASH_EXPORT IMEInfo { | 87 struct ASH_EXPORT IMEInfo { |
88 IMEInfo(); | 88 IMEInfo(); |
89 ~IMEInfo(); | 89 ~IMEInfo(); |
90 | 90 |
91 bool selected; | 91 bool selected; |
| 92 bool third_party; |
92 std::string id; | 93 std::string id; |
93 string16 name; | 94 string16 name; |
94 string16 short_name; | 95 string16 short_name; |
95 }; | 96 }; |
96 | 97 |
97 typedef std::vector<IMEInfo> IMEInfoList; | 98 typedef std::vector<IMEInfo> IMEInfoList; |
98 | 99 |
99 class SystemTrayDelegate { | 100 class SystemTrayDelegate { |
100 public: | 101 public: |
101 virtual ~SystemTrayDelegate() {} | 102 virtual ~SystemTrayDelegate() {} |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 // Opens the cellular network specific URL. | 283 // Opens the cellular network specific URL. |
283 virtual void ShowCellularURL(const std::string& url) = 0; | 284 virtual void ShowCellularURL(const std::string& url) = 0; |
284 | 285 |
285 // Shows UI for changing proxy settings. | 286 // Shows UI for changing proxy settings. |
286 virtual void ChangeProxySettings() = 0; | 287 virtual void ChangeProxySettings() = 0; |
287 }; | 288 }; |
288 | 289 |
289 } // namespace ash | 290 } // namespace ash |
290 | 291 |
291 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 292 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |