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

Unified Diff: chrome/browser/ui/views/ime_driver/noop_input_method.cc

Issue 2557493002: IME for Mus: Use ui::InputMethodChromeOS to provide logic for ime driver. (Closed)
Patch Set: . Created 4 years 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: chrome/browser/ui/views/ime_driver/noop_input_method.cc
diff --git a/chrome/browser/ui/views/ime_driver/noop_input_method.cc b/chrome/browser/ui/views/ime_driver/noop_input_method.cc
new file mode 100644
index 0000000000000000000000000000000000000000..16e1c63ad7323182fbacf470ebc7abaf2db777ce
--- /dev/null
+++ b/chrome/browser/ui/views/ime_driver/noop_input_method.cc
@@ -0,0 +1,10 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/views/ime_driver/noop_input_method.h"
+
+void NoOpInputMethod::ProcessKeyEvent(std::unique_ptr<ui::Event> key_event,
+ const ProcessKeyEventCallback& callback) {
+ callback.Run(false);
+}

Powered by Google App Engine
This is Rietveld 408576698