• Mustafa Çamurcu's avatar
    Remove seperate path for test events on Windows · e45bf8e4
    Mustafa Çamurcu authored
    Currently test events use a seperate path for IME because they don't
    have an MSG attached to them. This causes discrepancies
    between tests and actual functionality. This cl removes the seperate
    path and creates an MSG for all events.
    
    This change also revealed that MenuRunnerTest.NonLatinMnemonic was
    passing even though the functionality it tests doesn't actually work
    on Windows. It sends a WM_CHAR event without sending WM_KEYDOWN event
    and a WM_CHAR event alone is not sufficient to select a menu item.
    
    Change-Id: I2be217fe65e9681a60e4405eb0982d838cf8f37d
    Reviewed-on: https://chromium-review.googlesource.com/1048246
    Commit-Queue: Mustafa Çamurcu <camurcu@google.com>
    Reviewed-by: default avatarShu Chen <shuchen@chromium.org>
    Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#557940}
    e45bf8e4
events_win.cc 14.8 KB