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

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

Issue 400523005: Checks whether background is defined in IME extension manifest. And also move KeyEventDone logic fr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modified per comments. Created 6 years, 5 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/chromeos/input_method/input_method_engine.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
index f8e6c87c2a7c62574540005b918cc4cc467b112f..540766af3629248b50864396817c5231ad3d6c5e 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
@@ -470,14 +470,6 @@ bool InputMethodEngine::IsActive() const {
return active_;
}
-void InputMethodEngine::KeyEventDone(input_method::KeyEventHandle* key_data,
- bool handled) {
- KeyEventDoneCallback* callback =
- reinterpret_cast<KeyEventDoneCallback*>(key_data);
- callback->Run(handled);
- delete callback;
-}
-
bool InputMethodEngine::DeleteSurroundingText(int context_id,
int offset,
size_t number_of_chars,

Powered by Google App Engine
This is Rietveld 408576698