mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Upstream refactored video picture-in-picture gesture handling to fix issues caused by multiple sibling layers preventing default gesture event handling. The OnGestureEvent method was simplified to use HideLiveCaptionDialogForGestureIfNecessary helper and call views::Widget::OnGestureEvent for default handling. Updated patch context and preserved #if 0 blocks around live caption code that Electron disables. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7106405