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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_engine_ibus.h

Issue 11447007: Fix unexpected auxiliary text appearance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 11 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 | « 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_IBUS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Pointer to the object recieving events for this IME. 150 // Pointer to the object recieving events for this IME.
151 InputMethodEngine::Observer* observer_; 151 InputMethodEngine::Observer* observer_;
152 152
153 // The current preedit text, and it's cursor position. 153 // The current preedit text, and it's cursor position.
154 scoped_ptr<ibus::IBusText> preedit_text_; 154 scoped_ptr<ibus::IBusText> preedit_text_;
155 int preedit_cursor_; 155 int preedit_cursor_;
156 156
157 // The current engine component. 157 // The current engine component.
158 scoped_ptr<ibus::IBusComponent> component_; 158 scoped_ptr<ibus::IBusComponent> component_;
159 159
160 // The current lookup table and it's visiblity. 160 // The current lookup table.
161 scoped_ptr<ibus::IBusLookupTable> table_; 161 scoped_ptr<ibus::IBusLookupTable> table_;
162 bool table_visible_; 162
163 // Indicates whether the candidate window is visible.
164 bool window_visible_;
163 165
164 // Mapping of candidate index to candidate id. 166 // Mapping of candidate index to candidate id.
165 std::vector<int> candidate_ids_; 167 std::vector<int> candidate_ids_;
166 168
167 // Mapping of candidate id to index. 169 // Mapping of candidate id to index.
168 std::map<int, int> candidate_indexes_; 170 std::map<int, int> candidate_indexes_;
169 171
170 // Used for making callbacks. 172 // Used for making callbacks.
171 base::WeakPtrFactory<InputMethodEngineIBus> weak_ptr_factory_; 173 base::WeakPtrFactory<InputMethodEngineIBus> weak_ptr_factory_;
172 }; 174 };
173 175
174 } // namespace chromeos 176 } // namespace chromeos
175 177
176 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_H_ 178 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_IBUS_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