Skip to content

Commit

Permalink
Bug 1162050 - remove instances of eLegacyDragDrop and dragdrop. r=enn
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: Di41WT8zcZ1
  • Loading branch information
jimicy committed May 27, 2016
1 parent c807f5a commit 6b29d0e
Show file tree
Hide file tree
Showing 7 changed files with 365 additions and 253 deletions.
4 changes: 1 addition & 3 deletions dom/base/nsContentUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5398,8 +5398,7 @@ nsContentUtils::SetDataTransferInEvent(WidgetDragEvent* aDragEvent)
}

bool isCrossDomainSubFrameDrop = false;
if (aDragEvent->mMessage == eDrop ||
aDragEvent->mMessage == eLegacyDragDrop) {
if (aDragEvent->mMessage == eDrop) {
isCrossDomainSubFrameDrop = CheckForSubFrameDrop(dragSession, aDragEvent);
}

Expand All @@ -5423,7 +5422,6 @@ nsContentUtils::SetDataTransferInEvent(WidgetDragEvent* aDragEvent)
FilterDropEffect(action, effectAllowed));
}
else if (aDragEvent->mMessage == eDrop ||
aDragEvent->mMessage == eLegacyDragDrop ||
aDragEvent->mMessage == eDragEnd) {
// For the drop and dragend events, set the drop effect based on the
// last value that the dropEffect had. This will have been set in
Expand Down
1 change: 0 additions & 1 deletion dom/base/nsGkAtomList.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ GK_ATOM(DOMNodeRemovedFromDocument, "DOMNodeRemovedFromDocument")
GK_ATOM(DOMSubtreeModified, "DOMSubtreeModified")
GK_ATOM(double_, "double")
GK_ATOM(drag, "drag")
GK_ATOM(dragdrop, "dragdrop")
GK_ATOM(dragend, "dragend")
GK_ATOM(dragenter, "dragenter")
GK_ATOM(dragevent, "dragevent")
Expand Down
Loading

0 comments on commit 6b29d0e

Please sign in to comment.