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

Unified Diff: win8/metro_driver/ime/keyevent_filter.h

Issue 53553003: WIP: Ash IME support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « win8/metro_driver/ime/input_scope.cc ('k') | win8/metro_driver/ime/keyevent_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/ime/keyevent_filter.h
diff --git a/win8/metro_driver/ime/keyevent_filter.h b/win8/metro_driver/ime/keyevent_filter.h
new file mode 100644
index 0000000000000000000000000000000000000000..50f5b7b0262798c6f1909fc27e512514f08c936e
--- /dev/null
+++ b/win8/metro_driver/ime/keyevent_filter.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2013 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.
+
+#ifndef WIN8_METRO_DRIVER_IME_KEYEVENT_FILTER_H_
+#define WIN8_METRO_DRIVER_IME_KEYEVENT_FILTER_H_
+
+namespace metro_driver {
+
+// Installs/Uninstalls key event filter, which generates a VK_PROCESSKEY event
+// whenever a key event is handled and eaten by an IME to emulate conventional
+// key event sequence in IMM32 era.
+// Note: this is an optional feature. TSF is still functional even if this event
+// filter is not installed.
+bool InstallKeyEventFilter();
+void UninstallKeyEventFilter();
+
+} // namespace metro_driver
+
+#endif // WIN8_METRO_DRIVER_IME_KEYEVENT_FILTER_H_
« no previous file with comments | « win8/metro_driver/ime/input_scope.cc ('k') | win8/metro_driver/ime/keyevent_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698