зеркало из https://github.com/mozilla/gecko-dev.git
Camino only - Bug 367206: Remove draggingUpdated implementation from BrowserTabViewItem for performance. r=smorgan sr=pink
This commit is contained in:
Родитель
4f9ad7ff04
Коммит
074aa8cf11
|
@ -180,20 +180,9 @@ const int kMenuTruncationChars = 60;
|
|||
return NSDragOperationGeneric;
|
||||
}
|
||||
|
||||
- (unsigned int)draggingUpdated:(id <NSDraggingInfo>)sender
|
||||
{
|
||||
if (![self shouldAcceptDragFrom:[sender draggingSource]]) {
|
||||
[self hideDragDestinationIndicator];
|
||||
return NSDragOperationNone;
|
||||
}
|
||||
|
||||
[self showDragDestinationIndicator];
|
||||
return NSDragOperationGeneric;
|
||||
}
|
||||
|
||||
- (void)draggingExited:(id <NSDraggingInfo>)sender
|
||||
{
|
||||
[self hideDragDestinationIndicator];
|
||||
[self hideDragDestinationIndicator];
|
||||
}
|
||||
|
||||
- (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender
|
||||
|
|
Загрузка…
Ссылка в новой задаче