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

Unified Diff: services/keyboard_native/keyboard_service_impl.cc

Issue 1382943003: Add a Submit method to the keyboard interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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: services/keyboard_native/keyboard_service_impl.cc
diff --git a/services/keyboard_native/keyboard_service_impl.cc b/services/keyboard_native/keyboard_service_impl.cc
index 45a2fee2c22a951e1d3d0c4769a941952f080361..27321c0280194480e4f2304a3250fe14d8484db1 100644
--- a/services/keyboard_native/keyboard_service_impl.cc
+++ b/services/keyboard_native/keyboard_service_impl.cc
@@ -25,6 +25,12 @@ void KeyboardServiceImpl::ShowByRequest() {
void KeyboardServiceImpl::Hide() {
}
+void KeyboardServiceImpl::SetText(const mojo::String& text) {
+}
+
+void KeyboardServiceImpl::SetSelection(int32_t start, int32_t end) {
+}
+
void KeyboardServiceImpl::OnKey(const char* key) {
client_->CommitText(key, 1);
}

Powered by Google App Engine
This is Rietveld 408576698