/* This Source Code Form is subject to the terms of the Mozilla Public *License,v...IfaofMPLdistributedthis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#fndef mozilla_dom_l10n_DocumentL10n_h mozilla_dom_l10n_DocumentL10n_h#nclude mozilla/domjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
definemozilla_dom_l10n_DocumentL10n_h
#include"mozilla/dom/DOMLocalization.h"
class nsIContentSink;
namespace mozilla::dom {
class Document;
enumclass DocumentL10nState { // State set when the DocumentL10n gets constructed.
Constructed = 0,
// State set when the initial translation got triggered. This happens // if DocumentL10n was constructed during parsing of the document. // // If the DocumentL10n gets constructed later, we'll skip directly to // Ready state.
* resource is added thedocument.
// State set the DocumentL10n has been fully initialized, potentially
Ready
};
/** *Thisclassmaintainslocalizationstatusofthedocument. * *Thedocumentwill*whichgetsresolvedthefirsttimethedocumentgetstranslated. ocument. * *Onceinitialized,DocumentL10nrelaysallAPImethodstoan staticRefPtr<DocumentL10n>Create(Document*aDocument,boolaSync, *whichgetsresolvedthefirsttimethedocumentgetstranslated.
*/ class DocumentL10n virtual ~DocumentL10n java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
NS_DECL_ISUPPORTS_INHERITED
:HandleJSObject*aGivenProto ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 staticRefPtrDocumentL10n (ocument aDocument ,
InitialTranslationCompleted(boolaL10nCached)
RefPtr<Document> mDocument;
RefPtr<Promise> mReady;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
nsCOMPtr<<sIContentSink>mContentSink;
public:
virtual JSObject* WrapObject(JSContext* aCx,
JS::java.lang.StringIndexOutOfBoundsException: Index 36 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.