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

Side by Side Diff: ui/base/ime/input_method_ibus.h

Issue 22909048: Remove IBus specific hack from InputMethodIBus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | ui/base/ime/input_method_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 UI_BASE_IME_INPUT_METHOD_IBUS_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_IBUS_H_
6 #define UI_BASE_IME_INPUT_METHOD_IBUS_H_ 6 #define UI_BASE_IME_INPUT_METHOD_IBUS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // Indicates if input context is focused or not. 208 // Indicates if input context is focused or not.
209 bool context_focused_; 209 bool context_focused_;
210 210
211 // Indicates if there is an ongoing composition text. 211 // Indicates if there is an ongoing composition text.
212 bool composing_text_; 212 bool composing_text_;
213 213
214 // Indicates if the composition text is changed or deleted. 214 // Indicates if the composition text is changed or deleted.
215 bool composition_changed_; 215 bool composition_changed_;
216 216
217 // If it's true then all input method result received before the next key
218 // event will be discarded.
219 bool suppress_next_result_;
220
221 // The latest id of key event. 217 // The latest id of key event.
222 uint32 current_keyevent_id_; 218 uint32 current_keyevent_id_;
223 219
224 // An object to compose a character from a sequence of key presses 220 // An object to compose a character from a sequence of key presses
225 // including dead key etc. 221 // including dead key etc.
226 CharacterComposer character_composer_; 222 CharacterComposer character_composer_;
227 223
228 // Used for making callbacks. 224 // Used for making callbacks.
229 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_; 225 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_;
230 226
231 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); 227 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus);
232 }; 228 };
233 229
234 } // namespace ui 230 } // namespace ui
235 231
236 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_ 232 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/input_method_ibus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698