Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: chromeos/dbus/ibus/ibus_constants.h

Issue 10704118: Clean Up: Gather ibus constants to ibus_constants.h (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move constants to ibus_constants.h Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_client_unittest.cc ('k') | chromeos/dbus/ibus/ibus_input_context_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698