replaced by .editorconfig # ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D287843
27 lines
963 B
C++
27 lines
963 B
C++
/* 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_VideoFrameProvider_h
|
|
#define mozilla_dom_VideoFrameProvider_h
|
|
|
|
#include "mozilla/dom/HTMLVideoElementBinding.h"
|
|
#include "mozilla/dom/RequestCallbackManager.h"
|
|
#include "mozilla/dom/VideoFrameBinding.h"
|
|
|
|
namespace mozilla::dom {
|
|
|
|
using VideoFrameRequest = RequestCallbackEntry<VideoFrameRequestCallback>;
|
|
|
|
using VideoFrameRequestManager =
|
|
RequestCallbackManager<VideoFrameRequestCallback>;
|
|
|
|
// Force instantiation.
|
|
template void ImplCycleCollectionUnlink(VideoFrameRequestManager& aField);
|
|
template void ImplCycleCollectionTraverse(
|
|
nsCycleCollectionTraversalCallback& aCallback,
|
|
VideoFrameRequestManager& aField, const char* aName, uint32_t aFlags);
|
|
|
|
} // namespace mozilla::dom
|
|
#endif // mozilla_dom_VideoFrameProvider_h
|