Commit 511002de authored by Nick Diego Yamane's avatar Nick Diego Yamane Committed by Commit Bot

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: default avatarSadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824503}
parent 22579129
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment