Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

SSL AnimationFrameProvider.h   Interaktion und
Portierbarkeitunbekannt

 
/* 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/. */


#ifndef mozilla_dom_AnimationFrameProvider_h
#define mozilla_dom_AnimationFrameProvider_h

#include "mozilla/dom/AnimationFrameProviderBinding.h"
#include "mozilla/dom/RequestCallbackManager.h"

namespace mozilla::dom {

class HTMLVideoElement;

using FrameRequest = RequestCallbackEntry<FrameRequestCallback>;
using FrameRequestManagerBase = RequestCallbackManager<FrameRequestCallback>;

class FrameRequestManager final : public FrameRequestManagerBase {
 public:
  FrameRequestManager();
  ~FrameRequestManager();

  using FrameRequestManagerBase::Cancel;
  using FrameRequestManagerBase::Schedule;

  void Schedule(HTMLVideoElement*);
  bool Cancel(HTMLVideoElement*);
  bool IsEmpty() const {
    return FrameRequestManagerBase::IsEmpty() && mVideoCallbacks.IsEmpty();
  }
  void Take(nsTArray<RefPtr<HTMLVideoElement>>&);
  void Unlink();
  void Traverse(nsCycleCollectionTraversalCallback&);

 private:
  nsTArray<RefPtr<HTMLVideoElement>> mVideoCallbacks;
};

}  // namespace mozilla::dom

#endif

Messung V0.5 in Prozent
C=89 H=94 G=91

[Verzeichnis aufwärts0.19unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-08-25]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002