Home | History | Annotate | Download | only in js

Lines Matching refs:drop

383   // we cannot drop.
404 * This is a first pass wether we can drop the dragged items.
410 * @return {boolean} If this returns false then we know we should not drop
438 // If we are dragging a folder we cannot drop it on any of its descendants
449 * Whether we can drop the dragged items above the drop target.
455 * @return {boolean} Whether we can drop the dragged items above the drop
462 // We cannot drop between Bookmarks bar and Other bookmarks
468 // We can only drop between items in the tree if we have any folders.
485 // We cannot drop above if the item below is already in the drag source
495 * Whether we can drop the dragged items below the drop target.
501 * @return {boolean} Whether we can drop the dragged items below the drop
508 // We cannot drop between Bookmarks bar and Other bookmarks
512 // We can only drop between items in the tree if we have any folders.
536 // We cannot drop below if the item below is already in the drag source
546 * Whether we can drop the dragged items on the drop target.
552 * @return {boolean} Whether we can drop the dragged items on the drop
556 // We can only drop on a folder.
574 // We are trying to drop an item after the last item in the list. This
584 // Cannot drop on current parent.
646 // Set to none. This will get set to something if we can do the drop.
674 // Now we know that we can drop. Determine if we will drop above, on or
709 // No drop can happen. Exit now.
741 // If we are dropping on a list we want to show a overlay drop line after
769 * Shows and positions the drop marker overlay.
770 * @param {ClientRect} targetRect The drop target rect
776 var overlay = $('drop-overlay');
801 * Hides the drop overlay element.
806 // valid drop targets.
809 $('drop-overlay').style.display = '';
852 chrome.experimental.bookmarkManager.drop(parentId, index);
854 chrome.experimental.bookmarkManager.drop(parentId);
880 document.addEventListener('drop', this.handleDrop.bind(this));
1434 * This function is used to select items after a user action such as paste, drop