OLD | NEW |
---|---|
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
201 // event will be discarded. | 201 // event will be discarded. |
202 bool suppress_next_result_; | 202 bool suppress_next_result_; |
203 | 203 |
204 // An object to compose a character from a sequence of key presses | 204 // An object to compose a character from a sequence of key presses |
205 // including dead key etc. | 205 // including dead key etc. |
206 CharacterComposer character_composer_; | 206 CharacterComposer character_composer_; |
207 | 207 |
208 // Used for making callbacks. | 208 // Used for making callbacks. |
209 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_; | 209 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_; |
210 | 210 |
211 // Previously selected text. | |
212 string16 previous_selected_text_; | |
Yusuke Sato
2012/08/03 05:46:10
nit: selected_text_ would be clear enough to me.
Seigo Nonaka
2012/08/03 07:12:44
Sure, removed.
On 2012/08/03 05:46:10, Yusuke Sato
| |
213 | |
211 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); | 214 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); |
212 }; | 215 }; |
213 | 216 |
214 } // namespace ui | 217 } // namespace ui |
215 | 218 |
216 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_ | 219 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_ |
OLD | NEW |