зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1444686 part 14. Remove nsIDOMDataTransfer. r=mystor
MozReview-Commit-ID: BLi4w10clkP
This commit is contained in:
Родитель
7f7ce9b56c
Коммит
dae236c7cb
|
@ -66,8 +66,7 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(DataTransfer)
|
|||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DataTransfer)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(mozilla::dom::DataTransfer)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMDataTransfer)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMDataTransfer)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
// the size of the array
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "nsTArray.h"
|
||||
#include "nsIVariant.h"
|
||||
#include "nsIPrincipal.h"
|
||||
#include "nsIDOMDataTransfer.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDragService.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
|
@ -45,14 +44,13 @@ template<typename T> class Optional;
|
|||
{ 0x6c5f90d1, 0xa886, 0x42c8, \
|
||||
{ 0x85, 0x06, 0x10, 0xbe, 0x5c, 0x0d, 0xc6, 0x77 } }
|
||||
|
||||
class DataTransfer final : public nsIDOMDataTransfer,
|
||||
class DataTransfer final : public nsISupports,
|
||||
public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_DATATRANSFER_IID)
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_NSIDOMDATATRANSFER
|
||||
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DataTransfer)
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ with Files("**"):
|
|||
|
||||
XPIDL_SOURCES += [
|
||||
'nsIDOMCustomEvent.idl',
|
||||
'nsIDOMDataTransfer.idl',
|
||||
'nsIDOMDragEvent.idl',
|
||||
'nsIDOMEvent.idl',
|
||||
'nsIDOMEventListener.idl',
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "domstubs.idl"
|
||||
|
||||
interface nsIVariant;
|
||||
interface nsIDOMFileList;
|
||||
|
||||
[builtinclass, uuid(655078bf-1675-4aa0-a48d-a133e864ce57)]
|
||||
interface nsIDOMDataTransfer : nsISupports
|
||||
{
|
||||
};
|
|
@ -15,7 +15,6 @@
|
|||
#ifdef MOZ_WEBRTC
|
||||
#include "nsIDOMDataChannel.h"
|
||||
#endif
|
||||
#include "nsIDOMDataTransfer.h"
|
||||
#include "nsIDOMDOMCursor.h"
|
||||
#include "nsIDOMDOMException.h"
|
||||
#include "nsIDOMDOMRequest.h"
|
||||
|
@ -66,7 +65,6 @@
|
|||
#include "mozilla/dom/CSSValueBinding.h"
|
||||
#include "mozilla/dom/CSSValueListBinding.h"
|
||||
#include "mozilla/dom/CustomEventBinding.h"
|
||||
#include "mozilla/dom/DataTransferBinding.h"
|
||||
#include "mozilla/dom/DOMCursorBinding.h"
|
||||
#include "mozilla/dom/DOMExceptionBinding.h"
|
||||
#include "mozilla/dom/DOMParserBinding.h"
|
||||
|
@ -183,7 +181,6 @@ const ComponentsInterfaceShimEntry kComponentsInterfaceShimMap[] =
|
|||
DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIDOMClientRectList, DOMRectList),
|
||||
DEFINE_SHIM(Comment),
|
||||
DEFINE_SHIM(CustomEvent),
|
||||
DEFINE_SHIM(DataTransfer),
|
||||
DEFINE_SHIM(DOMCursor),
|
||||
DEFINE_SHIM(DOMException),
|
||||
DEFINE_SHIM(DOMRequest),
|
||||
|
|
Загрузка…
Ссылка в новой задаче