Skip to content

Commit

Permalink
8338306: WebView Drag and Drop fails with WebKit 619.1
Browse files Browse the repository at this point in the history
Backport-of: 67ac9d7804cd8d572bcc3e06e2f640d8a744d3bb
  • Loading branch information
Hima Bindu Meda committed Aug 22, 2024
1 parent 499fb77 commit 82110a3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2250,8 +2250,10 @@ JNIEXPORT jint JNICALL Java_com_sun_webkit_WebPage_twkProcessDrag
case com_sun_webkit_WebPage_DND_DST_EXIT:
dc.dragExited(*localMainFrame,WTFMove(dragData));
return 0;
case com_sun_webkit_WebPage_DND_DST_ENTER:
case com_sun_webkit_WebPage_DND_DST_OVER:

case com_sun_webkit_WebPage_DND_DST_CHANGE:
return dragOperationToDragCursor(std::get<std::optional<WebCore::DragOperation>>(dc.dragEnteredOrUpdated(*localMainFrame, WTFMove(dragData))));
case com_sun_webkit_WebPage_DND_DST_DROP:
{
int ret = dc.performDragOperation(WTFMove(dragData)) ? 1 : 0;
Expand Down

1 comment on commit 82110a3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.