| Index: chromeos/dbus/ibus/ibus_constants.h
|
| diff --git a/chromeos/dbus/ibus/ibus_constants.h b/chromeos/dbus/ibus/ibus_constants.h
|
| index dceab68443e86e530103d506ab1510e75279c7c7..4890cb9b01e5bb3ee05de60d1ce71af51d5cbeeb 100644
|
| --- a/chromeos/dbus/ibus/ibus_constants.h
|
| +++ b/chromeos/dbus/ibus/ibus_constants.h
|
| @@ -2,17 +2,38 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROMEOS_DBUS_IBUS_IBUS_CONST_H_
|
| -#define CHROMEOS_DBUS_IBUS_IBUS_CONST_H_
|
| +#ifndef CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
|
| +#define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
|
|
|
| namespace chromeos {
|
|
|
| -const char kIBusServiceName[] = "org.freedesktop.IBus";
|
| -const char kIBusServicePath[] = "/org/freedesktop/IBus";
|
| -const char kIBusServiceInterface[] = "org.freedesktop.IBus";
|
| +namespace ibus {
|
|
|
| -const char kIBusBusCreateInputContextMethod[] = "CreateInputContext";
|
| +const char kServiceName[] = "org.freedesktop.IBus";
|
|
|
| +namespace bus {
|
| +const char kServicePath[] = "/org/freedesktop/IBus";
|
| +const char kServiceInterface[] = "org.freedesktop.IBus";
|
| +const char kCreateInputContextMethod[] = "CreateInputContext";
|
| +const char kRegisterComponentMethod[] = "RegisterComponent";
|
| +} // namespace bus
|
| +
|
| +namespace input_context {
|
| +const char kServiceInterface[] = "org.freedesktop.IBus.InputContext";
|
| +const char kCommitTextSignal[] = "CommitText";
|
| +const char kForwardKeyEventSignal[] = "ForwardKeyEvent";
|
| +const char kHidePreeditTextSignal[] = "HidePreeditText";
|
| +const char kShowPreeditTextSignal[] = "ShowPreeditText";
|
| +const char kUpdatePreeditTextSignal[] = "UpdatePreeditText";
|
| +const char kFocusInMethod[] = "FocusIn";
|
| +const char kFocusOutMethod[] = "FocusOut";
|
| +const char kResetMethod[] = "Reset";
|
| +const char kSetCapabilitiesMethod[] = "SetCapabilities";
|
| +const char kSetCursorLocationMethod[] = "SetCursorLocation";
|
| +const char kProcessKeyEventMethod[] = "ProcessKeyEvent";
|
| +} // namespace input_context
|
| +
|
| +} // namespace ibus
|
| } // namespace chromeos
|
|
|
| -#endif // CHROMEOS_DBUS_IBUS_IBUS_CONST_H_
|
| +#endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
|
|
|