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 { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const char kSetSurroundingTextMethod[] = "SetSurroundingText"; | 46 const char kSetSurroundingTextMethod[] = "SetSurroundingText"; |
47 const char kPropertyActivateMethod[] = "PropertyActivate"; | 47 const char kPropertyActivateMethod[] = "PropertyActivate"; |
48 } // namespace input_context | 48 } // namespace input_context |
49 | 49 |
50 namespace engine_factory { | 50 namespace engine_factory { |
51 const char kServicePath[] = "/org/freedesktop/IBus/Factory"; | 51 const char kServicePath[] = "/org/freedesktop/IBus/Factory"; |
52 const char kServiceInterface[] = "org.freedesktop.IBus.Factory"; | 52 const char kServiceInterface[] = "org.freedesktop.IBus.Factory"; |
53 const char kCreateEngineMethod[] = "CreateEngine"; | 53 const char kCreateEngineMethod[] = "CreateEngine"; |
54 } // namespace engine_factory | 54 } // namespace engine_factory |
55 | 55 |
56 namespace engine { | |
57 const char kServicePathPrefix[] = "/org/freedesktop/IBus/Engine/"; | |
58 const char kServiceInterface[] = "org.freedesktop.IBus.Engine"; | |
59 const char kFocusInMethod[] = "FocusIn"; | |
60 const char kFocusOutMethod[] = "FocusOut"; | |
61 const char kEnableMethod[] = "Enable"; | |
62 const char kDisableMethod[] = "Disable"; | |
63 const char kPropertyActivateMethod[] = "PropertyActivate"; | |
64 const char kPropertyShowMethod[] = "PropertyShow"; | |
65 const char kPropertyHideMethod[] = "PropertyHide"; | |
66 const char kSetCapabilityMethod[] = "SetCapability"; | |
67 const char kResetMethod[] = "Reset"; | |
68 const char kProcessKeyEventMethod[] = "ProcessKeyEvent"; | |
69 const char kCandidateClickedMethod[] = "CandidateClicked"; | |
70 const char kSetSurroundingTextMethod[] = "SetSurroundingText"; | |
71 const char kRegisterPropertiesSignal[] = "RegisterProperties"; | |
72 const char kUpdatePreeditSignal[] = "UpdatePreeditText"; | |
73 const char kUpdateAuxiliaryTextSignal[] = "UpdateAuxiliaryText"; | |
74 const char kUpdateLookupTableSignal[] = "UpdateLookupTable"; | |
75 const char kUpdatePropertySignal[] = "UpdateProperty"; | |
76 const char kForwardKeyEventSignal[] = "ForwardKeyEvent"; | |
77 const char kRequireSurroundingTextSignal[] = "RequireSurroundingText"; | |
78 const char kCommitTextSignal[] = "CommitText"; | |
79 const char kDeleteSurroundingTextSignal[] = "DeleteSurroundingText"; | |
80 } // namespace engine | |
81 | |
82 namespace panel { | |
83 const char kServiceName[] = "org.freedesktop.IBus.Panel"; | |
84 const char kServicePath[] = "/org/freedesktop/IBus/Panel"; | |
85 const char kServiceInterface[] = "org.freedesktop.IBus.Panel"; | |
86 const char kUpdateLookupTableMethod[] = "UpdateLookupTable"; | |
87 const char kHideLookupTableMethod[] = "HideLookupTable"; | |
88 const char kUpdateAuxiliaryTextMethod[] = "UpdateAuxiliaryText"; | |
89 const char kHideAuxiliaryTextMethod[] = "HideAuxiliaryText"; | |
90 const char kUpdatePreeditTextMethod[] = "UpdatePreeditText"; | |
91 const char kHidePreeditTextMethod[] = "HidePreeditText"; | |
92 const char kRegisterPropertiesMethod[] = "RegisterProperties"; | |
93 const char kUpdatePropertyMethod[] = "UpdateProperty"; | |
94 const char kCandidateClickedSignal[] = "CandidateClicked"; | |
95 const char kCursorUpSignal[] = "CursorUp"; | |
96 const char kCursorDownSignal[] = "CursorDown"; | |
97 const char kPageUpSignal[] = "PageUp"; | |
98 const char kPageDownSignal[] = "PageDown"; | |
99 | |
100 // Methods to be just ignored. We do not use these methods in the UI. | |
101 // See http://crbug.com/164525. | |
102 const char kFocusInMethod[] = "FocusIn"; | |
103 const char kFocusOutMethod[] = "FocusOut"; | |
104 const char kStateChangedMethod[] = "StateChanged"; | |
105 } // namespace panel | |
106 | |
107 namespace config { | 56 namespace config { |
108 const char kServiceName[] = "org.freedesktop.IBus.Config"; | 57 const char kServiceName[] = "org.freedesktop.IBus.Config"; |
109 const char kServicePath[] = "/org/freedesktop/IBus/Config"; | 58 const char kServicePath[] = "/org/freedesktop/IBus/Config"; |
110 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; | 59 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; |
111 const char kSetValueMethod[] = "SetValue"; | 60 const char kSetValueMethod[] = "SetValue"; |
112 } // namespace config | 61 } // namespace config |
113 | 62 |
114 } // namespace ibus | 63 } // namespace ibus |
115 } // namespace chromeos | 64 } // namespace chromeos |
116 | 65 |
117 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ | 66 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ |
OLD | NEW |