/* *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Internal formats must have their second part starting with 'x-moz-', // for example text/x-moz-internaltype. These cannot be assigned by // unprivileged content but all other types can. #define kInternal_Mimetype_Prefix u"/x-moz-"_ns
// these probably shouldn't live here, but in some central repository shared // by the entire app. #define kTextMime "text/plain" #define kRTFMime "text/rtf" #define kMozTextInternal "text/x-moz-text-internal"// text data which isn't suppoed to be parsed by other apps. #define kHTMLMime "text/html" #define kPNGImageMime "image/png" #define kJPEGImageMime "image/jpeg" #define kJPGImageMime "image/jpg" #define kGIFImageMime "image/gif" #define kSVGImageMime "image/svg+xml" #define kFileMime "application/x-moz-file"
#define kURLMime "text/x-moz-url"// data contains url\ntitle #define kURLDataMime "text/x-moz-url-data"// data contains url only #define kURLDescriptionMime "text/x-moz-url-desc"// data contains description #define kURLPrivateMime "text/x-moz-url-priv"// same as kURLDataMime but for private uses #define kNativeImageMime "application/x-moz-nativeimage" #define kNativeHTMLMime "application/x-moz-nativehtml"
// These are used to indicate the context for a fragment of HTML source, such // that some parent structure and style can be preserved. kHTMLContext // contains the serialized ancestor elements, whereas kHTMLInfo are numbers // identifying where in the context the fragment was from. #define kHTMLContext "text/_moz_htmlcontext" #define kHTMLInfo "text/_moz_htmlinfo"
// Holds the MIME type from the image request. This is used to ensure the // local application handler for the request's MIME type accepts images with // the given filename extension (from kFilePromiseDestFilename). When the // image is dragged out, we replace the extension with a compatible extension. #define kImageRequestMime "text/x-moz-requestmime"
// the source URL for a file promise #define kFilePromiseURLMime "application/x-moz-file-promise-url" // the destination filename for a file promise #define kFilePromiseDestFilename "application/x-moz-file-promise-dest-filename" // a dataless flavor used to interact with the OS during file drags #define kFilePromiseMime "application/x-moz-file-promise" // a synthetic flavor, put into the transferable once we know the destination directory of a file drag #define kFilePromiseDirectoryMime "application/x-moz-file-promise-dir"
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.