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

Unified Diff: ui/base/ime/chromeos/mock_ime_engine_handler.cc

Issue 1282823002: Add text offset to OnSurroundingTextChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « ui/base/ime/chromeos/mock_ime_engine_handler.h ('k') | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/mock_ime_engine_handler.cc
diff --git a/ui/base/ime/chromeos/mock_ime_engine_handler.cc b/ui/base/ime/chromeos/mock_ime_engine_handler.cc
index 867ef19dbb8d9dbdf81c7ea49b25ded59a8cbd7a..3455b65a32305502db0baf5d858ddfcb2ee024dd 100644
--- a/ui/base/ime/chromeos/mock_ime_engine_handler.cc
+++ b/ui/base/ime/chromeos/mock_ime_engine_handler.cc
@@ -66,7 +66,8 @@ void MockIMEEngineHandler::CandidateClicked(uint32 index) {
void MockIMEEngineHandler::SetSurroundingText(const std::string& text,
uint32 cursor_pos,
- uint32 anchor_pos) {
+ uint32 anchor_pos,
+ uint32 offset_pos) {
++set_surrounding_text_call_count_;
last_set_surrounding_text_ = text;
last_set_surrounding_cursor_pos_ = cursor_pos;
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_engine_handler.h ('k') | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698