mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 95.0.4638.0 (#920003)
Known issues: - Windows ARM64 builds are currently failing due to https://crbug.com/1242884#c31
This commit is contained in:
@@ -493,8 +493,18 @@ class DownloadTestHandler : public TestHandler {
|
||||
mouse_event.x = 20;
|
||||
mouse_event.y = 20;
|
||||
mouse_event.modifiers = modifiers;
|
||||
browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_LEFT, false, 1);
|
||||
browser->GetHost()->SendMouseClickEvent(mouse_event, MBT_LEFT, true, 1);
|
||||
|
||||
// Add some delay to avoid having events dropped or rate limited.
|
||||
CefPostDelayedTask(
|
||||
TID_UI,
|
||||
base::BindOnce(&CefBrowserHost::SendMouseClickEvent, browser->GetHost(),
|
||||
mouse_event, MBT_LEFT, false, 1),
|
||||
50);
|
||||
CefPostDelayedTask(
|
||||
TID_UI,
|
||||
base::BindOnce(&CefBrowserHost::SendMouseClickEvent, browser->GetHost(),
|
||||
mouse_event, MBT_LEFT, true, 1),
|
||||
100);
|
||||
}
|
||||
|
||||
const TestMode test_mode_;
|
||||
|
Reference in New Issue
Block a user