| 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 CHROMEOS_DBUS_IBUS_IBUS_ENGINE_SERVICE_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_ENGINE_SERVICE_H_ |
| 6 #define CHROMEOS_DBUS_IBUS_IBUS_ENGINE_SERVICE_H_ | 6 #define CHROMEOS_DBUS_IBUS_IBUS_ENGINE_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
| 13 #include "chromeos/dbus/dbus_client_implementation_type.h" | 13 #include "chromeos/dbus/dbus_client_implementation_type.h" |
| 14 #include "chromeos/dbus/ibus/ibus_constants.h" | 14 #include "chromeos/dbus/ibus/ibus_constants.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 class IBusLookupTable; | |
| 19 class IBusText; | 18 class IBusText; |
| 20 class IBusEngineHandlerInterface; | 19 class IBusEngineHandlerInterface; |
| 21 | 20 |
| 22 // A class to make the actual DBus method call handling for IBusEngine service. | 21 // A class to make the actual DBus method call handling for IBusEngine service. |
| 23 // The exported method call is used by ibus-demon to process key event, because | 22 // The exported method call is used by ibus-demon to process key event, because |
| 24 // Chrome works engine service if the extension IME is enabled. This class is | 23 // Chrome works engine service if the extension IME is enabled. This class is |
| 25 // managed by DBusThreadManager. | 24 // managed by DBusThreadManager. |
| 26 class CHROMEOS_EXPORT IBusEngineService { | 25 class CHROMEOS_EXPORT IBusEngineService { |
| 27 public: | 26 public: |
| 28 // Following value should be same in | 27 // Following value should be same in |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // Create() should be used instead. | 64 // Create() should be used instead. |
| 66 IBusEngineService(); | 65 IBusEngineService(); |
| 67 | 66 |
| 68 private: | 67 private: |
| 69 DISALLOW_COPY_AND_ASSIGN(IBusEngineService); | 68 DISALLOW_COPY_AND_ASSIGN(IBusEngineService); |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace chromeos | 71 } // namespace chromeos |
| 73 | 72 |
| 74 #endif // CHROMEOS_DBUS_IBUS_IBUS_ENGINE_SERVICE_H_ | 73 #endif // CHROMEOS_DBUS_IBUS_IBUS_ENGINE_SERVICE_H_ |
| OLD | NEW |