mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: add OnUnconfirmedTapConvertedToTap override for gesture handling
Upstream added OnUnconfirmedTapConvertedToTap() as a pure virtual method to RenderWidgetHostViewBase for resetting gesture timers when tap is confirmed in TouchActionFilter. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7141998
This commit is contained in:
@@ -131,6 +131,7 @@ class OffScreenRenderWidgetHostView
|
||||
void UpdateFrameSinkIdRegistration() override;
|
||||
void InvalidateLocalSurfaceIdAndAllocationGroup() override;
|
||||
void ResetFallbackToFirstNavigationSurface() override;
|
||||
void OnUnconfirmedTapConvertedToTap() override {}
|
||||
void InitAsPopup(content::RenderWidgetHostView* parent_host_view,
|
||||
const gfx::Rect& bounds,
|
||||
const gfx::Rect& anchor_rect) override;
|
||||
|
||||
Reference in New Issue
Block a user