mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1345497 - Remove the unused PVRManager::GetControllers sync IPC; r=kip,billm
This commit is contained in:
parent
a249012d21
commit
dcb0bf572d
@ -59,9 +59,6 @@ parent:
|
||||
|
||||
async ControllerListenerAdded();
|
||||
async ControllerListenerRemoved();
|
||||
// GetControllers synchronously returns the VR controllers that have already been
|
||||
// enumerated by RefreshVRControllers() but does not enumerate new ones.
|
||||
sync GetControllers() returns(VRControllerInfo[] aControllerInfo);
|
||||
async CreateVRTestSystem();
|
||||
async CreateVRServiceTestDisplay(nsCString aID, uint32_t aPromiseID);
|
||||
async CreateVRServiceTestController(nsCString aID, uint32_t aPromiseID);
|
||||
|
@ -321,14 +321,6 @@ VRManagerParent::RecvControllerListenerRemoved()
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
VRManagerParent::RecvGetControllers(nsTArray<VRControllerInfo> *aControllers)
|
||||
{
|
||||
VRManager* vm = VRManager::Get();
|
||||
vm->GetVRControllerInfo(*aControllers);
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
VRManagerParent::RecvCreateVRTestSystem()
|
||||
{
|
||||
|
@ -93,7 +93,6 @@ protected:
|
||||
virtual mozilla::ipc::IPCResult RecvSetHaveEventListener(const bool& aHaveEventListener) override;
|
||||
virtual mozilla::ipc::IPCResult RecvControllerListenerAdded() override;
|
||||
virtual mozilla::ipc::IPCResult RecvControllerListenerRemoved() override;
|
||||
virtual mozilla::ipc::IPCResult RecvGetControllers(nsTArray<VRControllerInfo> *aControllers) override;
|
||||
virtual mozilla::ipc::IPCResult RecvCreateVRTestSystem() override;
|
||||
virtual mozilla::ipc::IPCResult RecvCreateVRServiceTestDisplay(const nsCString& aID, const uint32_t& aPromiseID) override;
|
||||
virtual mozilla::ipc::IPCResult RecvCreateVRServiceTestController(const nsCString& aID, const uint32_t& aPromiseID) override;
|
||||
|
@ -959,8 +959,6 @@ description =
|
||||
description =
|
||||
[PVRManager::SetHaveEventListener]
|
||||
description =
|
||||
[PVRManager::GetControllers]
|
||||
description =
|
||||
[PHal::GetCurrentBatteryInformation]
|
||||
description =
|
||||
[PHal::GetCurrentNetworkInformation]
|
||||
|
Loading…
Reference in New Issue
Block a user