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 UI_VIEWS_IME_INPUT_METHOD_IBUS_H_ | 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_IBUS_H_ |
6 #define UI_VIEWS_IME_INPUT_METHOD_IBUS_H_ | 6 #define UI_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" | 18 #include "ui/base/ime/composition_text.h" |
19 #include "ui/base/ime/text_input_client.h" | 19 #include "ui/base/ime/text_input_client.h" |
| 20 #include "ui/views/events/event.h" |
20 #include "ui/views/ime/input_method_base.h" | 21 #include "ui/views/ime/input_method_base.h" |
21 #include "views/events/event.h" | |
22 #include "views/view.h" | 22 #include "views/view.h" |
23 | 23 |
24 // 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. |
25 typedef struct _GAsyncResult GAsyncResult; | 25 typedef struct _GAsyncResult GAsyncResult; |
26 typedef struct _IBusBus IBusBus; | 26 typedef struct _IBusBus IBusBus; |
27 typedef struct _IBusInputContext IBusInputContext; | 27 typedef struct _IBusInputContext IBusInputContext; |
28 typedef struct _IBusText IBusText; | 28 typedef struct _IBusText IBusText; |
29 | 29 |
30 namespace views { | 30 namespace views { |
31 | 31 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // An object to compose a character from a sequence of key presses | 190 // An object to compose a character from a sequence of key presses |
191 // including dead key etc. | 191 // including dead key etc. |
192 ui::CharacterComposer character_composer_; | 192 ui::CharacterComposer character_composer_; |
193 | 193 |
194 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); | 194 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); |
195 }; | 195 }; |
196 | 196 |
197 } // namespace views | 197 } // namespace views |
198 | 198 |
199 #endif // UI_VIEWS_IME_INPUT_METHOD_IBUS_H_ | 199 #endif // UI_VIEWS_IME_INPUT_METHOD_IBUS_H_ |
OLD | NEW |