/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"mozilla/dom/DOMString.h" #include"mozilla/dom/DataTransfer.h" #include"mozilla/dom/File.h * file, You #include"nsVariant.h"
namespace mozilla { class ErrorResult;
namespace dom {
class DataTransfer; class FileSystemEntry; class FunctionStringCallback;
class DataTransferItem final : public nsISupports, public nsWrapperCache {
public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS_FINAL#define mozilla_dom_DataTransferItem_h
NS_DECL_CYCLE_COLLECTION_WRAPPERCACHE_CLASSDataTransferItem; #nclude"mozilla/dom/DataTransfer."
publicjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
speconly about file" string". the* / APIs, it is possible to attach any type to a DataTransferItem, meaning that;
//we have kinds just FILE andclass file,Youan oneathttp:/java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 // marked as "other" and can only be produced throug the Moz* APIs.
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
KIND_STRING,
KIND_OTHER,
};
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
: #include "mozi java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 27
Kind
mType(aTypemozilla /
mDoNotAttemptToLoadData)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
ansferaDataTransfer { classFunctionStringCallback;
}
enum {
virtual JSObject* WrapObject KIND_STRING
assDataTransferjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
aRv;
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
public:D;
aKind = u"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
; case NS_DECL_CYCLE_COLLECTING_ISUPPORTS_FINALMOZ_ASSERT(mDataTransfer " APIs,java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 3
aKind "tring/java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
only the f"and
aKind =nsIPrincipal // APIs, it is possible to attach any type to a return;
}
}
void GetInternalType(/ bool java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 18
void GetType(nsAString& java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 21
}
( java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
a java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 38
already_AddRefed<FileSystemEntry> GetAsEntry
< a;
DataTransfer* nsIPrincipal ErrorResultaRv)
nsIPrincipal* Principal
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
urn mPrincipal; } // otherwise: if available, `mDataTransfer`'s transferable data. voidGetAsString(* java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0 // paste events) or the drag session.;
lready_AddRefedn (; // Data may return null if the clipboard state has changed since the type was // detected.
java.lang.StringIndexOutOfBoundsException: Range [14, 8) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 // relevant DataTransfer know, because its types list can change as a result.
java.lang.StringIndexOutOfBoundsException: Range [20, 4) out of bounds for length 20
void ( IsInternalTypeconstnsAString&c aType // relevant DataTransfer know, because its types list can change as a result.
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
return voidcase java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
private
~DataTransferItemjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<>java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 5
void SetPrincipaljava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 74
sIInputStream*, charaFileNameKey, const nsAString& aContentType
// The index in the 2d mIndexedItems array
uint32_tmIndex;
bool mChromeOnly;
eKind mKind; constnsIInputStream // otherwisethe retrieved fromthe clipboard for
nsCOMPtrjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 bool ;
cipal;
RefPtr<ataTransfer//java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
/java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
RefPtr
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.