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_IBUS_CLIENT_H_ | 5 #ifndef UI_BASE_IME_IBUS_CLIENT_H_ |
6 #define UI_BASE_IME_IBUS_CLIENT_H_ | 6 #define UI_BASE_IME_IBUS_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <glib/gtypes.h> | 9 #include <glib.h> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/event_types.h" | 12 #include "base/event_types.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "ui/base/events.h" | 14 #include "ui/base/events.h" |
15 #include "ui/base/ui_export.h" | 15 #include "ui/base/ui_export.h" |
16 | 16 |
17 typedef struct _IBusBus IBusBus; | 17 typedef struct _IBusBus IBusBus; |
18 typedef struct _IBusInputContext IBusInputContext; | 18 typedef struct _IBusInputContext IBusInputContext; |
19 typedef struct _IBusText IBusText; | 19 typedef struct _IBusText IBusText; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 // Called by InputMethodIBus::OnCommitText to convert |text| into a Unicode | 118 // Called by InputMethodIBus::OnCommitText to convert |text| into a Unicode |
119 // string. | 119 // string. |
120 virtual string16 ExtractCommitText(IBusText* text) = 0; | 120 virtual string16 ExtractCommitText(IBusText* text) = 0; |
121 }; | 121 }; |
122 | 122 |
123 } // namespace internal | 123 } // namespace internal |
124 } // namespace ui | 124 } // namespace ui |
125 | 125 |
126 #endif // UI_BASE_IME_IBUS_CLIENT_H_ | 126 #endif // UI_BASE_IME_IBUS_CLIENT_H_ |
OLD | NEW |