mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 895274 part.79 Rename NS_DRAGDROP_END to eDragEnd r=smaug (d8af0a9474) - Bug 895274 part.80 Rename NS_DRAGDROP_DRAG to eDrag r=smaug (c52b1e9051) - Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug (1575b62285) - Bug 1199336 - Fix jank/hangs dragging files into the browser due to O(n^2) behavior in the Cocoa widget drag-and-drop code. r=mstange (d08bf7eb39) - Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug (a4cc62f29b) - Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug (a9bc6efbc6) - Bug 895274 part.84 Rename NS_DRAGDROP_DRAGDROP to eLegacyDragDrop r=smaug (1e0e2fc36c) - Bug 895274 part.85 Rename NS_DRAGDROP_GESTURE to eLegacyDragGesture r=smaug (02b65c9714) - Bug 895274 part.86 Rename NS_XUL_EVENT_START to eXULEventFirst r=smaug (fdbf788d30) - Bug 895274 part.87 Rename NS_XUL_POPUP_SHOWING to eXULPopupShowing r=smaug (be6db4598b) - Bug 895274 part.88 Rename NS_XUL_POPUP_SHOWN to eXULPopupShown r=smaug (aa31f0604c) - Bug 895274 part.89 Rename NS_XUL_POPUP_HIDING to eXULPopupHiding r=smaug (31aa9bba3f) - Bug 895274 part.90 Rename NS_XUL_POPUP_HIDDEN to eXULPopupHidden r=smaug (3a16c46a47) - Bug 895274 part.91 Rename NS_XUL_BROADCAST to eXULBroadcast r=smaug (1f6a9ba826) - Bug 895274 part.92 Rename NS_XUL_COMMAND_UPDATE to eXULCommandUpdate r=smaug (a905f91d85) - Bug 895274 part.93 Rename NS_XULCOMMAND_EVENT_START to eXULCommandEventFirst r=smaug (676ccd9544) - Bug 895274 part.94 Rename NS_XUL_COMMAND to eXULCommand r=smaug (d91d925b72) - Bug 895274 part.104 Rename NS_PAGETRANSITION_START to ePageTransitionEventFirst r=smaug (0e481eb39c) - Bug 895274 part.105 Rename NS_PAGE_SHOW to ePageShow r=smaug (f45dc12913) - Bug 895274 part.106 Rename NS_PAGE_HIDE to ePageHide r=smaug (b3985be873) - Bug 895274 part.107 Get rid of NS_SVG_ABORT and NS_SVG_ERROR due to unused r=smaug (d129144cd4) - Bug 895274 part.108 Rename NS_SVG_EVENT_START to eSVGEventFirst r=smaug (3cbb4f9e36) - Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug (bf00acdd16) - Bug 895274 part.110 Rename NS_SVG_UNLOAD to eSVGUnload r=smaug (e14939e8d5) - Bug 895274 part.111 Rename NS_SVG_RESIZE to eSVGResize r=smaug (b81017a3dc) - Bug 895274 part.112 Rename NS_SVG_SCROLL to eSVGScroll r=smaug (9b0ce02714) - Bug 895274 part.113 Rename NS_SVGZOOM_EVENT_START to eSVGZoomEventFirst r=smaug (ee1f48e8b4) - Bug 895274 part.114 Rename NS_SVG_ZOOM to eSVGZoom r=smaug (8274e50f8c)
This commit is contained in:
@@ -360,7 +360,7 @@ nsBaseDragService::EndDragSession(bool aDoneDrag)
|
||||
mEndingSession = true;
|
||||
|
||||
if (aDoneDrag && !mSuppressLevel)
|
||||
FireDragEventAtSource(NS_DRAGDROP_END);
|
||||
FireDragEventAtSource(eDragEnd);
|
||||
|
||||
if (mDragPopup) {
|
||||
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
|
||||
@@ -409,7 +409,7 @@ nsBaseDragService::FireDragEventAtSource(uint32_t aMsg)
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetDragEvent event(true, static_cast<EventMessage>(aMsg), nullptr);
|
||||
event.inputSource = mInputSource;
|
||||
if (aMsg == NS_DRAGDROP_END) {
|
||||
if (aMsg == eDragEnd) {
|
||||
event.refPoint.x = mEndDragPoint.x;
|
||||
event.refPoint.y = mEndDragPoint.y;
|
||||
event.userCancelled = mUserCancelled;
|
||||
|
||||
Reference in New Issue
Block a user