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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/ibus/ibus_constants.h
diff --git a/chromeos/dbus/ibus/ibus_constants.h b/chromeos/dbus/ibus/ibus_constants.h
index dceab68443e86e530103d506ab1510e75279c7c7..4890cb9b01e5bb3ee05de60d1ce71af51d5cbeeb 100644
--- a/chromeos/dbus/ibus/ibus_constants.h
+++ b/chromeos/dbus/ibus/ibus_constants.h
@@ -2,17 +2,38 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_DBUS_IBUS_IBUS_CONST_H_
-#define CHROMEOS_DBUS_IBUS_IBUS_CONST_H_
+#ifndef CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
+#define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
namespace chromeos {
-const char kIBusServiceName[] = "org.freedesktop.IBus";
-const char kIBusServicePath[] = "/org/freedesktop/IBus";
-const char kIBusServiceInterface[] = "org.freedesktop.IBus";
+namespace ibus {
-const char kIBusBusCreateInputContextMethod[] = "CreateInputContext";
+const char kServiceName[] = "org.freedesktop.IBus";
+namespace bus {
+const char kServicePath[] = "/org/freedesktop/IBus";
+const char kServiceInterface[] = "org.freedesktop.IBus";
+const char kCreateInputContextMethod[] = "CreateInputContext";
+const char kRegisterComponentMethod[] = "RegisterComponent";
+} // namespace bus
+
+namespace input_context {
+const char kServiceInterface[] = "org.freedesktop.IBus.InputContext";
+const char kCommitTextSignal[] = "CommitText";
+const char kForwardKeyEventSignal[] = "ForwardKeyEvent";
+const char kHidePreeditTextSignal[] = "HidePreeditText";
+const char kShowPreeditTextSignal[] = "ShowPreeditText";
+const char kUpdatePreeditTextSignal[] = "UpdatePreeditText";
+const char kFocusInMethod[] = "FocusIn";
+const char kFocusOutMethod[] = "FocusOut";
+const char kResetMethod[] = "Reset";
+const char kSetCapabilitiesMethod[] = "SetCapabilities";
+const char kSetCursorLocationMethod[] = "SetCursorLocation";
+const char kProcessKeyEventMethod[] = "ProcessKeyEvent";
+} // namespace input_context
+
+} // namespace ibus
} // namespace chromeos
-#endif // CHROMEOS_DBUS_IBUS_IBUS_CONST_H_
+#endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
« 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