| 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 // TODO(yusukes): Remove this class when TOUCH_UI migrates to Aura. For Aura, | 5 // TODO(yusukes): Remove this class when TOUCH_UI migrates to Aura. For Aura, |
| 6 // ui/base/ime/input_method_* classes are available. | 6 // ui/base/ime/input_method_* classes are available. |
| 7 | 7 |
| 8 #include "ui/views/ime/input_method_ibus.h" | 8 #include "ui/views/ime/input_method_ibus.h" |
| 9 | 9 |
| 10 #include <ibus.h> | 10 #include <ibus.h> |
| (...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 DCHECK_EQ(GetIBus(), bus); | 955 DCHECK_EQ(GetIBus(), bus); |
| 956 DCHECK(data); | 956 DCHECK(data); |
| 957 IBusInputContext* ic = | 957 IBusInputContext* ic = |
| 958 ibus_bus_create_input_context_async_finish(bus, res, NULL); | 958 ibus_bus_create_input_context_async_finish(bus, res, NULL); |
| 959 if (ic) | 959 if (ic) |
| 960 data->StoreOrAbandonInputContext(ic); | 960 data->StoreOrAbandonInputContext(ic); |
| 961 delete data; | 961 delete data; |
| 962 } | 962 } |
| 963 | 963 |
| 964 } // namespace views | 964 } // namespace views |
| OLD | NEW |