зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1428390 - Remove virtual keyword for overrides in PCameras impl. r=jib
MozReview-Commit-ID: FqhgyTFXH5W --HG-- extra : rebase_source : d2b308bae88cf0ed70efda87ed725c6f96f96e35
This commit is contained in:
Родитель
584ab7f7ca
Коммит
1ee82e204d
|
@ -153,27 +153,27 @@ public:
|
||||||
|
|
||||||
// IPC messages recevied, received on the PBackground thread
|
// IPC messages recevied, received on the PBackground thread
|
||||||
// these are the actual callbacks with data
|
// these are the actual callbacks with data
|
||||||
virtual mozilla::ipc::IPCResult RecvDeliverFrame(const CaptureEngine&, const int&,
|
mozilla::ipc::IPCResult RecvDeliverFrame(const CaptureEngine&, const int&,
|
||||||
mozilla::ipc::Shmem&&,
|
mozilla::ipc::Shmem&&,
|
||||||
const VideoFrameProperties & prop) override;
|
const VideoFrameProperties & prop) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvFrameSizeChange(const CaptureEngine&, const int&,
|
mozilla::ipc::IPCResult RecvFrameSizeChange(const CaptureEngine&, const int&,
|
||||||
const int& w, const int& h) override;
|
const int& w, const int& h) override;
|
||||||
|
|
||||||
virtual mozilla::ipc::IPCResult RecvDeviceChange() override;
|
mozilla::ipc::IPCResult RecvDeviceChange() override;
|
||||||
virtual int AddDeviceChangeCallback(DeviceChangeCallback* aCallback) override;
|
int AddDeviceChangeCallback(DeviceChangeCallback* aCallback) override;
|
||||||
int SetFakeDeviceChangeEvents();
|
int SetFakeDeviceChangeEvents();
|
||||||
|
|
||||||
// these are response messages to our outgoing requests
|
// these are response messages to our outgoing requests
|
||||||
virtual mozilla::ipc::IPCResult RecvReplyNumberOfCaptureDevices(const int&) override;
|
mozilla::ipc::IPCResult RecvReplyNumberOfCaptureDevices(const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReplyNumberOfCapabilities(const int&) override;
|
mozilla::ipc::IPCResult RecvReplyNumberOfCapabilities(const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReplyAllocateCaptureDevice(const int&) override;
|
mozilla::ipc::IPCResult RecvReplyAllocateCaptureDevice(const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReplyGetCaptureCapability(const VideoCaptureCapability& capability) override;
|
mozilla::ipc::IPCResult RecvReplyGetCaptureCapability(const VideoCaptureCapability& capability) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReplyGetCaptureDevice(const nsCString& device_name,
|
mozilla::ipc::IPCResult RecvReplyGetCaptureDevice(const nsCString& device_name,
|
||||||
const nsCString& device_id,
|
const nsCString& device_id,
|
||||||
const bool& scary) override;
|
const bool& scary) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReplyFailure(void) override;
|
mozilla::ipc::IPCResult RecvReplyFailure(void) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReplySuccess(void) override;
|
mozilla::ipc::IPCResult RecvReplySuccess(void) override;
|
||||||
virtual void ActorDestroy(ActorDestroyReason aWhy) override;
|
void ActorDestroy(ActorDestroyReason aWhy) override;
|
||||||
|
|
||||||
// the webrtc.org ViECapture calls are mirrored here, but with access
|
// the webrtc.org ViECapture calls are mirrored here, but with access
|
||||||
// to a specific PCameras instance to communicate over. These also
|
// to a specific PCameras instance to communicate over. These also
|
||||||
|
|
|
@ -46,7 +46,7 @@ public:
|
||||||
|
|
||||||
// These callbacks end up running on the VideoCapture thread.
|
// These callbacks end up running on the VideoCapture thread.
|
||||||
// From VideoCaptureCallback
|
// From VideoCaptureCallback
|
||||||
virtual void OnFrame(const webrtc::VideoFrame& videoFrame) override;
|
void OnFrame(const webrtc::VideoFrame& videoFrame) override;
|
||||||
|
|
||||||
friend CamerasParent;
|
friend CamerasParent;
|
||||||
|
|
||||||
|
@ -83,25 +83,25 @@ public:
|
||||||
static already_AddRefed<CamerasParent> Create();
|
static already_AddRefed<CamerasParent> Create();
|
||||||
|
|
||||||
// Messages received form the child. These run on the IPC/PBackground thread.
|
// Messages received form the child. These run on the IPC/PBackground thread.
|
||||||
virtual mozilla::ipc::IPCResult
|
mozilla::ipc::IPCResult
|
||||||
RecvAllocateCaptureDevice(const CaptureEngine& aEngine,
|
RecvAllocateCaptureDevice(const CaptureEngine& aEngine,
|
||||||
const nsCString& aUnique_idUTF8,
|
const nsCString& aUnique_idUTF8,
|
||||||
const ipc::PrincipalInfo& aPrincipalInfo) override;
|
const ipc::PrincipalInfo& aPrincipalInfo) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReleaseCaptureDevice(const CaptureEngine&,
|
mozilla::ipc::IPCResult RecvReleaseCaptureDevice(const CaptureEngine&,
|
||||||
const int&) override;
|
const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvNumberOfCaptureDevices(const CaptureEngine&) override;
|
mozilla::ipc::IPCResult RecvNumberOfCaptureDevices(const CaptureEngine&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvNumberOfCapabilities(const CaptureEngine&,
|
mozilla::ipc::IPCResult RecvNumberOfCapabilities(const CaptureEngine&,
|
||||||
const nsCString&) override;
|
const nsCString&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvGetCaptureCapability(const CaptureEngine&, const nsCString&,
|
mozilla::ipc::IPCResult RecvGetCaptureCapability(const CaptureEngine&, const nsCString&,
|
||||||
const int&) override;
|
const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvGetCaptureDevice(const CaptureEngine&, const int&) override;
|
mozilla::ipc::IPCResult RecvGetCaptureDevice(const CaptureEngine&, const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvStartCapture(const CaptureEngine&, const int&,
|
mozilla::ipc::IPCResult RecvStartCapture(const CaptureEngine&, const int&,
|
||||||
const VideoCaptureCapability&) override;
|
const VideoCaptureCapability&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvStopCapture(const CaptureEngine&, const int&) override;
|
mozilla::ipc::IPCResult RecvStopCapture(const CaptureEngine&, const int&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvReleaseFrame(mozilla::ipc::Shmem&&) override;
|
mozilla::ipc::IPCResult RecvReleaseFrame(mozilla::ipc::Shmem&&) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvAllDone() override;
|
mozilla::ipc::IPCResult RecvAllDone() override;
|
||||||
virtual void ActorDestroy(ActorDestroyReason aWhy) override;
|
void ActorDestroy(ActorDestroyReason aWhy) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvEnsureInitialized(const CaptureEngine&) override;
|
mozilla::ipc::IPCResult RecvEnsureInitialized(const CaptureEngine&) override;
|
||||||
|
|
||||||
nsIEventTarget* GetBackgroundEventTarget() { return mPBackgroundEventTarget; };
|
nsIEventTarget* GetBackgroundEventTarget() { return mPBackgroundEventTarget; };
|
||||||
bool IsShuttingDown()
|
bool IsShuttingDown()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче