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

Unified Diff: ui/base/ime/input_method_chromeos_unittest.cc

Issue 2120133002: Revert of The PROCESSKEY event triggered by IME should not carry the real DomKey/DomCode to avoid wrongly pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « ui/base/ime/input_method_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_chromeos_unittest.cc
diff --git a/ui/base/ime/input_method_chromeos_unittest.cc b/ui/base/ime/input_method_chromeos_unittest.cc
index 7777d44c3619a5fd0f9451f00466be5a9bab89a7..83ae4df5526821ad02a0bbbb51d0085d11ab4812 100644
--- a/ui/base/ime/input_method_chromeos_unittest.cc
+++ b/ui/base/ime/input_method_chromeos_unittest.cc
@@ -969,7 +969,9 @@
EXPECT_EQ(ET_KEY_PRESSED, key_event.type());
EXPECT_EQ(VKEY_PROCESSKEY, key_event.key_code());
+ EXPECT_EQ(eventA.code(), key_event.code());
EXPECT_EQ(eventA.flags(), key_event.flags());
+ EXPECT_EQ(eventA.GetDomKey(), key_event.GetDomKey());
EXPECT_EQ(eventA.time_stamp(), key_event.time_stamp());
}
« no previous file with comments | « ui/base/ime/input_method_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698