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 kCandidateClickedSignal[] = "CandidateClicked"; | 87 const char kCandidateClickedSignal[] = "CandidateClicked"; |
81 const char kCursorUpSignal[] = "CursorUp"; | 88 const char kCursorUpSignal[] = "CursorUp"; |
(...skipping 11 matching lines...) Expand all Loading... |
93 | 100 |
94 // Following button indicator value is introduced from | 101 // Following button indicator value is introduced from |
95 // http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEventButto
n | 102 // http://developer.gnome.org/gdk/stable/gdk-Event-Structures.html#GdkEventButto
n |
96 enum IBusMouseButton { | 103 enum IBusMouseButton { |
97 IBUS_MOUSE_BUTTON_LEFT = 1U, | 104 IBUS_MOUSE_BUTTON_LEFT = 1U, |
98 IBUS_MOUSE_BUTTON_MIDDLE = 2U, | 105 IBUS_MOUSE_BUTTON_MIDDLE = 2U, |
99 IBUS_MOUSE_BUTTON_RIGHT = 3U, | 106 IBUS_MOUSE_BUTTON_RIGHT = 3U, |
100 }; | 107 }; |
101 | 108 |
102 namespace config { | 109 namespace config { |
| 110 const char kServiceName[] = "org.freedesktop.IBus.Config"; |
103 const char kServicePath[] = "/org/freedesktop/IBus/Config"; | 111 const char kServicePath[] = "/org/freedesktop/IBus/Config"; |
104 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; | 112 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; |
105 const char kSetValueMethod[] = "SetValue"; | 113 const char kSetValueMethod[] = "SetValue"; |
106 } // namespace config | 114 } // namespace config |
107 | 115 |
108 } // namespace ibus | 116 } // namespace ibus |
109 } // namespace chromeos | 117 } // namespace chromeos |
110 | 118 |
111 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ | 119 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
OLD | NEW |