Remove X11-specifics from web_input_event_unittest.cc
Such code dates from when PlatformEvent was defined as XEvent in Desktop Linux builds. Back then, it did make sense to use XEvents directly to verify PlatformEvent => WebKeyboardEvent translation. Though now that PlatformEvent == ui::Event in both ozone and legacy code paths [1], it doesn't make sense anymore and XEvent => ui::Event translation is tested in another layer, eg: x11_translation_unittest.cc, events_x_unittest.cc. Bug: 1109112 Test: events_unittests --gtest_filter='*WebInputEventTest.TestMakeWebKeyboardEvent*' [1] https://chromium-review.googlesource.com/c/chromium/src/+/2022280 R=sadrul@chromium.org Change-Id: I9391ecbf6323776b64980ce003fd06b99b192a7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517148 Auto-Submit: Nick Yamane <nickdiego@igalia.com> Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#824503}
Showing
This diff is collapsed.
Please register or sign in to comment