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

Unified Diff: chrome/browser/ui/input_method/input_method_engine.cc

Issue 1528483002: Add chrome.input.ime.activate and chrome.input.ime.deactivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: chrome/browser/ui/input_method/input_method_engine.cc
diff --git a/chrome/browser/ui/input_method/input_method_engine.cc b/chrome/browser/ui/input_method/input_method_engine.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a03580c9e03f21aaf2031c240011098ed4d96ef6
--- /dev/null
+++ b/chrome/browser/ui/input_method/input_method_engine.cc
@@ -0,0 +1,28 @@
+// 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/input_method/input_method_engine.h"
+
+namespace input_method {
+
+InputMethodEngine::InputMethodEngine() {}
+
+InputMethodEngine::~InputMethodEngine() {}
+
+bool InputMethodEngine::SendKeyEvents(
+ int context_id,
+ const std::vector<KeyboardEvent>& events) {
+ // TODO(azurewei) Implement SendKeyEvents funciton
+ return false;
+}
+
+bool InputMethodEngine::IsActive() const {
+ return true;
+}
+
+std::string InputMethodEngine::GetExtensionId() const {
+ return extension_id_;
+}
+
+} // namespace input_method
« no previous file with comments | « chrome/browser/ui/input_method/input_method_engine.h ('k') | chrome/browser/ui/input_method/input_method_engine_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698