mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 119.0.6045.0 (#1204232)
Mac: 13.5+ build system w/ 14.0 base SDK (Xcode 15.0) is now required.
This commit is contained in:
@ -1162,14 +1162,16 @@ class OSRTestHandler : public RoutingTestHandler,
|
||||
|
||||
void UpdateDragCursor(CefRefPtr<CefBrowser> browser,
|
||||
DragOperation operation) override {
|
||||
if (operation == DRAG_OPERATION_NONE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (test_type_ == OSR_TEST_DRAG_DROP_UPDATE_CURSOR && started()) {
|
||||
if (operation != DRAG_OPERATION_NONE) {
|
||||
const CefRect& dropdiv = GetElementBounds("dropdiv");
|
||||
browser->GetHost()->DragSourceEndedAt(
|
||||
MiddleX(dropdiv), MiddleY(dropdiv), DRAG_OPERATION_NONE);
|
||||
browser->GetHost()->DragSourceSystemDragEnded();
|
||||
DestroySucceededTestSoon();
|
||||
}
|
||||
const CefRect& dropdiv = GetElementBounds("dropdiv");
|
||||
browser->GetHost()->DragSourceEndedAt(MiddleX(dropdiv), MiddleY(dropdiv),
|
||||
DRAG_OPERATION_NONE);
|
||||
browser->GetHost()->DragSourceSystemDragEnded();
|
||||
DestroySucceededTestSoon();
|
||||
} else if (test_type_ == OSR_TEST_DRAG_DROP_DROP && started()) {
|
||||
// Don't end the drag multiple times.
|
||||
if (got_update_cursor_) {
|
||||
|
Reference in New Issue
Block a user