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 #include "chromeos/dbus/ibus/ibus_engine_service.h" | 5 #include "chromeos/dbus/ibus/ibus_engine_service.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "chromeos/dbus/ibus/ibus_constants.h" | 10 #include "chromeos/dbus/ibus/ibus_constants.h" |
11 #include "chromeos/dbus/ibus/ibus_lookup_table.h" | |
12 #include "chromeos/dbus/ibus/ibus_text.h" | 11 #include "chromeos/dbus/ibus/ibus_text.h" |
13 #include "chromeos/ime/ibus_bridge.h" | 12 #include "chromeos/ime/ibus_bridge.h" |
14 | 13 |
15 namespace chromeos { | 14 namespace chromeos { |
16 // An implementation of IBusEngineService without ibus-daemon interaction. | 15 // An implementation of IBusEngineService without ibus-daemon interaction. |
17 // Currently this class is used only on linux desktop. | 16 // Currently this class is used only on linux desktop. |
18 // TODO(nona): Use this on ChromeOS device once crbug.com/171351 is fixed. | 17 // TODO(nona): Use this on ChromeOS device once crbug.com/171351 is fixed. |
19 class IBusEngineServiceDaemonlessImpl : public IBusEngineService { | 18 class IBusEngineServiceDaemonlessImpl : public IBusEngineService { |
20 public: | 19 public: |
21 IBusEngineServiceDaemonlessImpl() {} | 20 IBusEngineServiceDaemonlessImpl() {} |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 81 |
83 IBusEngineService::~IBusEngineService() { | 82 IBusEngineService::~IBusEngineService() { |
84 } | 83 } |
85 | 84 |
86 // static | 85 // static |
87 IBusEngineService* IBusEngineService::Create() { | 86 IBusEngineService* IBusEngineService::Create() { |
88 return new IBusEngineServiceDaemonlessImpl(); | 87 return new IBusEngineServiceDaemonlessImpl(); |
89 } | 88 } |
90 | 89 |
91 } // namespace chromeos | 90 } // namespace chromeos |
OLD | NEW |