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

Unified Diff: examples/keyboard_client/keyboard_client.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: examples/keyboard_client/keyboard_client.cc
diff --git a/examples/keyboard_client/keyboard_client.cc b/examples/keyboard_client/keyboard_client.cc
index 21e71b62490f427e1754437ea111400c87c97ab5..49969c21819363385a33e8afe51b712abdaca26e 100644
--- a/examples/keyboard_client/keyboard_client.cc
+++ b/examples/keyboard_client/keyboard_client.cc
@@ -246,6 +246,8 @@ class KeyboardDelegate : public mojo::ApplicationDelegate,
void SetSelection(int32_t start, int32_t end) override { DrawText(); }
+ void Submit(keyboard::SubmitAction action) override {}
+
// mojo::ViewObserver implementation.
void OnViewDestroyed(mojo::View* view) override {
if (view == text_view_) {

Powered by Google App Engine
This is Rietveld 408576698