зеркало из https://github.com/mozilla/gecko-dev.git
since we've decided upon no DnD w/out XUL, commenting out hookup of XBL drag handlers. r=saari, sr=sfraser
This commit is contained in:
Родитель
0d201aeb75
Коммит
817ba1e2d4
|
@ -315,7 +315,10 @@ NS_IMETHODIMP GlobalWindowImpl::SetNewDocument(nsIDOMDocument* aDocument)
|
|||
if (xblService) {
|
||||
nsCOMPtr<nsIDOMEventReceiver> rec(do_QueryInterface(mChromeEventHandler));
|
||||
xblService->AttachGlobalKeyHandler(rec);
|
||||
xblService->AttachGlobalDragHandler(rec);
|
||||
|
||||
// for now, the only way to get drag/drop is to use the XUL wrapper. There
|
||||
// are just too many things that need to be added to hookup DnD with XBL (pinkerton)
|
||||
//xblService->AttachGlobalDragHandler(rec);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче