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

Unified Diff: ui/base/ime/dummy_text_input_client.cc

Issue 1282823002: Add text offset to OnSurroundingTextChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address reviewer feedback. 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
Index: ui/base/ime/dummy_text_input_client.cc
diff --git a/ui/base/ime/dummy_text_input_client.cc b/ui/base/ime/dummy_text_input_client.cc
index c660bd9269b32081df0ddfda616e332c08a5eff8..1ead459e915dd1da9ebc9f4ea25d40b856d52ff9 100644
--- a/ui/base/ime/dummy_text_input_client.cc
+++ b/ui/base/ime/dummy_text_input_client.cc
@@ -78,6 +78,10 @@ bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) {
return false;
}
+uint32 DummyTextInputClient::GetTextOffset() const {
+ return 0;
+}
+
bool DummyTextInputClient::DeleteRange(const gfx::Range& range) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698