OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_IME_INPUT_METHOD_IBUS_H_ | 5 #ifndef VIEWS_IME_INPUT_METHOD_IBUS_H_ |
6 #define VIEWS_IME_INPUT_METHOD_IBUS_H_ | 6 #define VIEWS_IME_INPUT_METHOD_IBUS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "ui/base/glib/glib_integers.h" | 15 #include "ui/base/glib/glib_integers.h" |
16 #include "ui/base/glib/glib_signal.h" | 16 #include "ui/base/glib/glib_signal.h" |
17 #include "ui/base/ime/character_composer.h" | 17 #include "ui/base/ime/character_composer.h" |
| 18 #include "ui/base/ime/composition_text.h" |
| 19 #include "ui/base/ime/text_input_client.h" |
18 #include "views/events/event.h" | 20 #include "views/events/event.h" |
19 #include "views/ime/input_method_base.h" | 21 #include "views/ime/input_method_base.h" |
20 #include "views/view.h" | 22 #include "views/view.h" |
21 | 23 |
22 // Forward declarations, so that we don't need to include ibus.h in this file. | 24 // Forward declarations, so that we don't need to include ibus.h in this file. |
23 typedef struct _GAsyncResult GAsyncResult; | 25 typedef struct _GAsyncResult GAsyncResult; |
24 typedef struct _IBusBus IBusBus; | 26 typedef struct _IBusBus IBusBus; |
25 typedef struct _IBusInputContext IBusInputContext; | 27 typedef struct _IBusInputContext IBusInputContext; |
26 typedef struct _IBusText IBusText; | 28 typedef struct _IBusText IBusText; |
27 | 29 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // An object to compose a character from a sequence of key presses | 202 // An object to compose a character from a sequence of key presses |
201 // including dead key etc. | 203 // including dead key etc. |
202 ui::CharacterComposer character_composer_; | 204 ui::CharacterComposer character_composer_; |
203 | 205 |
204 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); | 206 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); |
205 }; | 207 }; |
206 | 208 |
207 } // namespace views | 209 } // namespace views |
208 | 210 |
209 #endif // VIEWS_IME_INPUT_METHOD_IBUS_H_ | 211 #endif // VIEWS_IME_INPUT_METHOD_IBUS_H_ |
OLD | NEW |