Index: chromeos/dbus/ibus/ibus_input_context_client.h |
diff --git a/chromeos/dbus/ibus/ibus_input_context_client.h b/chromeos/dbus/ibus/ibus_input_context_client.h |
index a6ae66cd52367e7e42e0f90dfdbd2491209b0cc7..ae97ba5e2f5964183739f2bdeea914bf6d44bb29 100644 |
--- a/chromeos/dbus/ibus/ibus_input_context_client.h |
+++ b/chromeos/dbus/ibus/ibus_input_context_client.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROMEOS_DBUS_IBUS_IBUS_INPUT_CONTEXT_CLIENT_H_ |
#define CHROMEOS_DBUS_IBUS_IBUS_INPUT_CONTEXT_CLIENT_H_ |
+#include <string> |
+ |
#include "base/bind.h" |
#include "base/callback.h" |
#include "chromeos/chromeos_export.h" |
@@ -103,6 +105,12 @@ class CHROMEOS_EXPORT IBusInputContextClient { |
const ProcessKeyEventCallback& callback, |
const ErrorCallback& error_callback) = 0; |
+ // Invokes SetSurroundingText method call. |start_index| is inclusive and |
+ // |end_index| is exclusive. |
+ virtual void SetSurroundingText(const std::string& text, |
+ uint32 start_index, |
+ uint32 end_index) = 0; |
+ |
// Factory function, creates a new instance and returns ownership. |
// For normal usage, access the singleton via DBusThreadManager::Get(). |
static CHROMEOS_EXPORT IBusInputContextClient* Create( |