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_CONST_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
6 #define CHROMEOS_DBUS_IBUS_IBUS_CONST_H_ | 6 #define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
7 | 7 |
8 namespace chromeos { | 8 namespace chromeos { |
9 | 9 |
10 const char kIBusServiceName[] = "org.freedesktop.IBus"; | 10 namespace ibus { |
11 const char kIBusServicePath[] = "/org/freedesktop/IBus"; | |
12 const char kIBusServiceInterface[] = "org.freedesktop.IBus"; | |
13 | 11 |
14 const char kIBusBusCreateInputContextMethod[] = "CreateInputContext"; | 12 const char kServiceName[] = "org.freedesktop.IBus"; |
15 | 13 |
| 14 namespace bus { |
| 15 const char kServicePath[] = "/org/freedesktop/IBus"; |
| 16 const char kServiceInterface[] = "org.freedesktop.IBus"; |
| 17 const char kCreateInputContextMethod[] = "CreateInputContext"; |
| 18 const char kRegisterComponentMethod[] = "RegisterComponent"; |
| 19 } // namespace bus |
| 20 |
| 21 namespace input_context { |
| 22 const char kServiceInterface[] = "org.freedesktop.IBus.InputContext"; |
| 23 const char kCommitTextSignal[] = "CommitText"; |
| 24 const char kForwardKeyEventSignal[] = "ForwardKeyEvent"; |
| 25 const char kHidePreeditTextSignal[] = "HidePreeditText"; |
| 26 const char kShowPreeditTextSignal[] = "ShowPreeditText"; |
| 27 const char kUpdatePreeditTextSignal[] = "UpdatePreeditText"; |
| 28 const char kFocusInMethod[] = "FocusIn"; |
| 29 const char kFocusOutMethod[] = "FocusOut"; |
| 30 const char kResetMethod[] = "Reset"; |
| 31 const char kSetCapabilitiesMethod[] = "SetCapabilities"; |
| 32 const char kSetCursorLocationMethod[] = "SetCursorLocation"; |
| 33 const char kProcessKeyEventMethod[] = "ProcessKeyEvent"; |
| 34 } // namespace input_context |
| 35 |
| 36 } // namespace ibus |
16 } // namespace chromeos | 37 } // namespace chromeos |
17 | 38 |
18 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONST_H_ | 39 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
OLD | NEW |