mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
[InputVizard] Fix missing touch cancel in InputTransferHandlerAndroid
using InputEventSource Refs https://chromium-review.googlesource.com/c/chromium/src/+/7302368
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user