0
Files
src/content/web_test/renderer
Steve Kobes f86135bda9 Ignore gesture events in TestPlugin.
With scroll unification, blink::WebPlugin no longer receives gesture
scroll events, which breaks some tests that expect it to see them.
However the only current users of WebPlugin, besides tests, are:

- PDF viewer, which does its own gesture detection and drives scrolling
  from outside the plugin through special hooks.

- Pepper API (still used for NaCL in extensions and Chrome Apps). Pepper
  forwards some inputs, but PepperPluginInstanceImpl::HandleInputEvent
  will drop gesture events as ClassifyInputEvent() would return 0.

- Placeholders that tell the user a plugin couldn't be loaded. These
  aren't scrollable (plugin_placeholders.css sets overflow:hidden).

Therefore, it appears WebPlugin doesn't need to receive gesture events.
Update the test expectations accordingly.

Bug: 1252915
Change-Id: Ib0498479d90bf8368156e68953fcf5fb9ae98951
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3417691
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: danakj chromium <danakj@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#964589}
2022-01-28 15:31:15 +00:00
..