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

Unified Diff: chromeos/dbus/ibus/mock_ibus_input_context_client.cc

Issue 10825154: Extends IBusContextClient to handle SetSurroundingText. (Closed) Base URL: http://git.chromium.org/chromium/src.git@surrounding_support
Patch Set: Address comments 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/mock_ibus_input_context_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/ibus/mock_ibus_input_context_client.cc
diff --git a/chromeos/dbus/ibus/mock_ibus_input_context_client.cc b/chromeos/dbus/ibus/mock_ibus_input_context_client.cc
index 4eca00e3df4a1a6d05edeeda140283b5f500046b..bd1038ac9e0da39620204df652a4db19aeda2a2e 100644
--- a/chromeos/dbus/ibus/mock_ibus_input_context_client.cc
+++ b/chromeos/dbus/ibus/mock_ibus_input_context_client.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
#include "chromeos/dbus/ibus/mock_ibus_input_context_client.h"
namespace chromeos {
@@ -103,4 +104,10 @@ void MockIBusInputContextClient::ProcessKeyEvent(
process_key_event_call_count_++;
}
+void MockIBusInputContextClient::SetSurroundingText(
+ const std::string& text,
+ uint32 cursor_pos,
+ uint32 anchor_pos) {
+}
+
} // namespace chromeos
« no previous file with comments | « chromeos/dbus/ibus/mock_ibus_input_context_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698