summaryrefslogtreecommitdiffstats
path: root/hal/sandbox/PHal.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'hal/sandbox/PHal.ipdl')
-rw-r--r--hal/sandbox/PHal.ipdl13
1 files changed, 0 insertions, 13 deletions
diff --git a/hal/sandbox/PHal.ipdl b/hal/sandbox/PHal.ipdl
index 37b69f93f..1af550aff 100644
--- a/hal/sandbox/PHal.ipdl
+++ b/hal/sandbox/PHal.ipdl
@@ -13,8 +13,6 @@ using mozilla::dom::ScreenOrientationInternal from "mozilla/dom/ScreenOrientatio
using mozilla::hal::SensorType from "mozilla/HalSensor.h";
using mozilla::hal::SensorAccuracyType from "mozilla/HalSensor.h";
using mozilla::hal::WakeLockControl from "mozilla/HalTypes.h";
-using mozilla::hal::SwitchState from "mozilla/HalTypes.h";
-using mozilla::hal::SwitchDevice from "mozilla/HalTypes.h";
using mozilla::hal::ProcessPriority from "mozilla/HalTypes.h";
using nsIntRect from "nsRect.h";
using PRTime from "prtime.h";
@@ -41,11 +39,6 @@ struct NetworkInformation {
uint32_t dhcpGateway;
};
-struct SwitchEvent {
- SwitchDevice device;
- SwitchState status;
-};
-
struct WakeLockInformation {
nsString topic;
uint32_t numLocks;
@@ -80,7 +73,6 @@ child:
async NotifyNetworkChange(NetworkInformation aNetworkInfo);
async NotifyWakeLockChange(WakeLockInformation aWakeLockInfo);
async NotifyScreenConfigurationChange(ScreenConfiguration aScreenOrientation);
- async NotifySwitchChange(SwitchEvent aEvent);
async NotifySystemClockChange(int64_t aClockDeltaMS);
async NotifySystemTimezoneChange(SystemTimezoneChangeInformation aSystemTimezoneChangeInfo);
@@ -138,11 +130,6 @@ parent:
returns (bool allowed);
async UnlockScreenOrientation();
- async EnableSwitchNotifications(SwitchDevice aDevice);
- async DisableSwitchNotifications(SwitchDevice aDevice);
- sync GetCurrentSwitchState(SwitchDevice aDevice)
- returns (SwitchState aState);
-
async FactoryReset(nsString aReason);
child: