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

Side by Side 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: Address comment Created 8 years 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 | « no previous file | chrome/browser/chromeos/input_method/input_method_engine_ibus.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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 unsigned int modified; 72 unsigned int modified;
73 std::vector<MenuItem> children; 73 std::vector<MenuItem> children;
74 }; 74 };
75 75
76 struct InputContext { 76 struct InputContext {
77 int id; 77 int id;
78 std::string type; 78 std::string type;
79 }; 79 };
80 80
81 struct UsageEntry {
82 std::string title;
83 std::string body;
84 };
85
81 struct Candidate { 86 struct Candidate {
82 Candidate(); 87 Candidate();
83 virtual ~Candidate(); 88 virtual ~Candidate();
84 89
85 std::string value; 90 std::string value;
86 int id; 91 int id;
87 std::string label; 92 std::string label;
88 std::string annotation; 93 std::string annotation;
94 UsageEntry usage;
89 std::vector<Candidate> candidates; 95 std::vector<Candidate> candidates;
90 }; 96 };
91 97
92 struct SegmentInfo { 98 struct SegmentInfo {
93 int start; 99 int start;
94 int end; 100 int end;
95 SegmentStyle style; 101 SegmentStyle style;
96 }; 102 };
97 103
98 class Observer { 104 class Observer {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 const char* engine_id, 203 const char* engine_id,
198 const char* description, 204 const char* description,
199 const char* language, 205 const char* language,
200 const std::vector<std::string>& layouts, 206 const std::vector<std::string>& layouts,
201 std::string* error); 207 std::string* error);
202 }; 208 };
203 209
204 } // namespace chromeos 210 } // namespace chromeos
205 211
206 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ 212 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_engine_ibus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698