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

Unified Diff: base/base_switches.cc

Issue 1267483003: Combine the WM_CHAR with WM_KEY* for key event flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add --disable-merge-key-char-events flag. Created 5 years, 4 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: base/base_switches.cc
diff --git a/base/base_switches.cc b/base/base_switches.cc
index 7f3be7f516c58dd961ae699f81bba848651cbbe7..03423491420a194a55ce7c4de00d73eb5abe2977 100644
--- a/base/base_switches.cc
+++ b/base/base_switches.cc
@@ -68,6 +68,9 @@ const char kProfilerTiming[] = "profiler-timing";
const char kProfilerTimingDisabledValue[] = "0";
#if defined(OS_WIN)
+// Disables merging the key event (WM_KEY*) with the char event (WM_CHAR).
+const char kDisableMergeKeyCharEvents[] = "disable-merge-key-char-events";
+
// Disables the USB keyboard detection for blocking the OSK on Win8+.
const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
#endif

Powered by Google App Engine
This is Rietveld 408576698