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