Skip to content

Commit 67ac9d7

Browse files
author
Hima Bindu Meda
committed
8338306: WebView Drag and Drop fails with WebKit 619.1
Reviewed-by: kcr, sykora
1 parent f1bac5a commit 67ac9d7

File tree

1 file changed

+3
-1
lines changed
  • modules/javafx.web/src/main/native/Source/WebKitLegacy/java/WebCoreSupport

1 file changed

+3
-1
lines changed

modules/javafx.web/src/main/native/Source/WebKitLegacy/java/WebCoreSupport/WebPage.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,8 +2250,10 @@ JNIEXPORT jint JNICALL Java_com_sun_webkit_WebPage_twkProcessDrag
22502250
case com_sun_webkit_WebPage_DND_DST_EXIT:
22512251
dc.dragExited(*localMainFrame,WTFMove(dragData));
22522252
return 0;
2253+
case com_sun_webkit_WebPage_DND_DST_ENTER:
22532254
case com_sun_webkit_WebPage_DND_DST_OVER:
2254-
2255+
case com_sun_webkit_WebPage_DND_DST_CHANGE:
2256+
return dragOperationToDragCursor(std::get<std::optional<WebCore::DragOperation>>(dc.dragEnteredOrUpdated(*localMainFrame, WTFMove(dragData))));
22552257
case com_sun_webkit_WebPage_DND_DST_DROP:
22562258
{
22572259
int ret = dc.performDragOperation(WTFMove(dragData)) ? 1 : 0;

0 commit comments

Comments
 (0)