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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 10008043: Allow non-radio button properties in uber tray. Simplified chinese will use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 420fd2daafaaa4622c458ff1b1c9563d97be44df..dbc57221628dfbfb6f95bf126a883a9efdf15534 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -48,6 +48,7 @@ struct ASH_EXPORT IMEPropertyInfo {
~IMEPropertyInfo();
bool selected;
+ bool is_selection;
std::string key;
string16 name;
};
@@ -157,8 +158,10 @@ class SystemTrayDelegate {
// Switches to the selected input method.
virtual void SwitchIME(const std::string& ime_id) = 0;
- // Activates an IME property.
- virtual void ActivateIMEProperty(const std::string& key) = 0;
+ // Activates an IME property. Specify true to |is_selection| if it's a
+ // selection item.
+ virtual void ActivateIMEProperty(
+ const std::string& key, bool is_selection) = 0;
// Returns information about the most relevant network. Relevance is
// determined by the implementor (e.g. a connecting network may be more
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698