[InputVizard] Fix missing touch cancel in InputTransferHandlerAndroid

using InputEventSource

Refs https://chromium-review.googlesource.com/c/chromium/src/+/7302368
This commit is contained in:
deepak1556
2026-01-01 15:28:38 +09:00
parent a8b43cba11
commit f31f9e06db
2 changed files with 4 additions and 2 deletions

View File

@@ -3881,7 +3881,8 @@ void WebContents::PDFReadyToPrint() {
}
void WebContents::OnInputEvent(const content::RenderWidgetHost& rfh,
const blink::WebInputEvent& event) {
const blink::WebInputEvent& event,
input::InputEventSource source) {
Emit("input-event", event);
}

View File

@@ -432,7 +432,8 @@ class WebContents final : public ExclusiveAccessContext,
// content::RenderWidgetHost::InputEventObserver:
void OnInputEvent(const content::RenderWidgetHost& rfh,
const blink::WebInputEvent& event) override;
const blink::WebInputEvent& event,
input::InputEventSource source) override;
// content::JavaScriptDialogManager:
void RunJavaScriptDialog(content::WebContents* web_contents,