Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 10544070: Add decoration to the language button to indicate that a third party IME is in use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/system/ime/tray_ime.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ash/system/ime/tray_ime.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698