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_CONSTANTS_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
6 #define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ | 6 #define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
7 | 7 |
8 namespace chromeos { | 8 namespace chromeos { |
9 | 9 |
10 namespace ibus { | 10 namespace ibus { |
11 | 11 |
12 const char kServiceName[] = "org.freedesktop.IBus"; | 12 const char kServiceName[] = "org.freedesktop.IBus"; |
13 | 13 |
| 14 const char kDBusServiceName[] = "org.freedesktop.DBus"; |
| 15 const char kDBusObjectPath[] = "/org/freedesktop/DBus"; |
| 16 const char kDBusInterface[] = "org.freedesktop.DBus"; |
| 17 const char kGetNameOwnerMethod[] = "GetNameOwner"; |
| 18 const char kNameOwnerChangedSignal[] = "NameOwnerChanged"; |
| 19 |
14 namespace bus { | 20 namespace bus { |
15 const char kServicePath[] = "/org/freedesktop/IBus"; | 21 const char kServicePath[] = "/org/freedesktop/IBus"; |
16 const char kServiceInterface[] = "org.freedesktop.IBus"; | 22 const char kServiceInterface[] = "org.freedesktop.IBus"; |
17 const char kCreateInputContextMethod[] = "CreateInputContext"; | 23 const char kCreateInputContextMethod[] = "CreateInputContext"; |
18 const char kRegisterComponentMethod[] = "RegisterComponent"; | 24 const char kRegisterComponentMethod[] = "RegisterComponent"; |
19 const char kSetGlobalEngineMethod[] = "SetGlobalEngine"; | 25 const char kSetGlobalEngineMethod[] = "SetGlobalEngine"; |
20 const char kExitMethod[] = "Exit"; | 26 const char kExitMethod[] = "Exit"; |
21 } // namespace bus | 27 } // namespace bus |
22 | 28 |
23 namespace input_context { | 29 namespace input_context { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 const char kUpdatePreeditSignal[] = "UpdatePreeditText"; | 68 const char kUpdatePreeditSignal[] = "UpdatePreeditText"; |
63 const char kUpdateAuxiliaryTextSignal[] = "UpdateAuxiliaryText"; | 69 const char kUpdateAuxiliaryTextSignal[] = "UpdateAuxiliaryText"; |
64 const char kUpdateLookupTableSignal[] = "UpdateLookupTable"; | 70 const char kUpdateLookupTableSignal[] = "UpdateLookupTable"; |
65 const char kUpdatePropertySignal[] = "UpdateProperty"; | 71 const char kUpdatePropertySignal[] = "UpdateProperty"; |
66 const char kForwardKeyEventSignal[] = "ForwardKeyEvent"; | 72 const char kForwardKeyEventSignal[] = "ForwardKeyEvent"; |
67 const char kRequireSurroundingTextSignal[] = "RequireSurroundingText"; | 73 const char kRequireSurroundingTextSignal[] = "RequireSurroundingText"; |
68 const char kCommitTextSignal[] = "CommitText"; | 74 const char kCommitTextSignal[] = "CommitText"; |
69 } // namespace engine | 75 } // namespace engine |
70 | 76 |
71 namespace panel { | 77 namespace panel { |
| 78 const char kServiceName[] = "org.freedesktop.IBus.Panel"; |
72 const char kServicePath[] = "/org/freedesktop/IBus/Panel"; | 79 const char kServicePath[] = "/org/freedesktop/IBus/Panel"; |
73 const char kServiceInterface[] = "org.freedesktop.IBus.Panel"; | 80 const char kServiceInterface[] = "org.freedesktop.IBus.Panel"; |
74 const char kUpdateLookupTableMethod[] = "UpdateLookupTable"; | 81 const char kUpdateLookupTableMethod[] = "UpdateLookupTable"; |
75 const char kHideLookupTableMethod[] = "HideLookupTable"; | 82 const char kHideLookupTableMethod[] = "HideLookupTable"; |
76 const char kUpdateAuxiliaryTextMethod[] = "UpdateAuxiliaryText"; | 83 const char kUpdateAuxiliaryTextMethod[] = "UpdateAuxiliaryText"; |
77 const char kHideAuxiliaryTextMethod[] = "HideAuxiliaryText"; | 84 const char kHideAuxiliaryTextMethod[] = "HideAuxiliaryText"; |
78 const char kUpdatePreeditTextMethod[] = "UpdatePreeditText"; | 85 const char kUpdatePreeditTextMethod[] = "UpdatePreeditText"; |
79 const char kHidePreeditTextMethod[] = "HidePreeditText"; | 86 const char kHidePreeditTextMethod[] = "HidePreeditText"; |
80 const char kRegisterPropertiesMethod[] = "RegisterProperties"; | 87 const char kRegisterPropertiesMethod[] = "RegisterProperties"; |
81 const char kUpdatePropertiesMethod[] = "UpdateProperties"; | 88 const char kUpdatePropertiesMethod[] = "UpdateProperties"; |
(...skipping 13 matching lines...) Expand all Loading... |
95 | 102 |
96 // Following button indicator value is introduced from | 103 // Following button indicator value is introduced from |
97 // http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEventButto
n | 104 // http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEventButto
n |
98 enum IBusMouseButton { | 105 enum IBusMouseButton { |
99 IBUS_MOUSE_BUTTON_LEFT = 1U, | 106 IBUS_MOUSE_BUTTON_LEFT = 1U, |
100 IBUS_MOUSE_BUTTON_MIDDLE = 2U, | 107 IBUS_MOUSE_BUTTON_MIDDLE = 2U, |
101 IBUS_MOUSE_BUTTON_RIGHT = 3U, | 108 IBUS_MOUSE_BUTTON_RIGHT = 3U, |
102 }; | 109 }; |
103 | 110 |
104 namespace config { | 111 namespace config { |
| 112 const char kServiceName[] = "org.freedesktop.IBus.Config"; |
105 const char kServicePath[] = "/org/freedesktop/IBus/Config"; | 113 const char kServicePath[] = "/org/freedesktop/IBus/Config"; |
106 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; | 114 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; |
107 const char kSetValueMethod[] = "SetValue"; | 115 const char kSetValueMethod[] = "SetValue"; |
108 } // namespace config | 116 } // namespace config |
109 | 117 |
110 } // namespace ibus | 118 } // namespace ibus |
111 } // namespace chromeos | 119 } // namespace chromeos |
112 | 120 |
113 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ | 121 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
OLD | NEW |