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

Unified Diff: services/keyboard_native/keyboard_service_impl.h

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.h
diff --git a/services/keyboard_native/keyboard_service_impl.h b/services/keyboard_native/keyboard_service_impl.h
index 53e4d53b8546b0d153513eee51b9fbbf31920257..72fc042da4fafa44197c719761a7c81b039e73c1 100644
--- a/services/keyboard_native/keyboard_service_impl.h
+++ b/services/keyboard_native/keyboard_service_impl.h
@@ -22,6 +22,8 @@ class KeyboardServiceImpl : public KeyboardService {
void Show(KeyboardClientPtr client, KeyboardType type) override;
void ShowByRequest() override;
void Hide() override;
+ void SetText(const mojo::String& text) override;
+ void SetSelection(int32_t start, int32_t end) override;
void OnKey(const char* key);
void OnDelete();

Powered by Google App Engine
This is Rietveld 408576698