/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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/. */
class GlobalObject; class Performance; class PerformanceEntry; class PerformanceObserverCallback; class WorkerPrivate;
class PerformanceObserver final : public nsISupports, public nsWrapperCache { public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_WRAPPERCACHE_CLASS(PerformanceObserver)
nsCOMPtr<nsIGlobalObject> mOwner;
RefPtr<PerformanceObserverCallback> mCallback;
RefPtr<Performance> mPerformance;
nsTArray<nsString> mEntryTypes;
nsTArray<PerformanceObserverInit> mOptions; enum {
ObserverTypeUndefined,
ObserverTypeSingle,
ObserverTypeMultiple,
} mObserverType; /* * This is also known as registered, in the spec.
*/ bool mConnected;
nsTArray<RefPtr<PerformanceEntry>> mQueuedEntries;
};
} // namespace dom
} // namespace mozilla
#endif
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
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 ist noch experimentell.