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

Unified Diff: chrome/browser/chromeos/input_method/input_method_engine.h

Issue 11412268: Add usage display support for Extension IME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: chrome/browser/chromeos/input_method/input_method_engine.h
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.h b/chrome/browser/chromeos/input_method/input_method_engine.h
index a1887804e959875c5f40350feb60cf14ca6e9ca5..96f7cb8dd3a2615a4f123ad623ebc1ce6b3bdc12 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.h
+++ b/chrome/browser/chromeos/input_method/input_method_engine.h
@@ -78,6 +78,11 @@ class InputMethodEngine {
std::string type;
};
+ struct UsageEntry {
+ std::string title;
+ std::string body;
+ };
+
struct Candidate {
Candidate();
virtual ~Candidate();
@@ -86,6 +91,7 @@ class InputMethodEngine {
int id;
std::string label;
std::string annotation;
+ UsageEntry usage;
std::vector<Candidate> candidates;
};

Powered by Google App Engine
This is Rietveld 408576698