diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-28 15:46:41 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-28 15:46:41 +0000 |
commit | ad453f0b28bf1ac30f889abf3ae38e95315295b0 (patch) | |
tree | c33683c6009278b1c6e9f049465fb2e4eda890d4 /hal/sandbox/PHal.ipdl | |
parent | d332d4a60ddc0c82d72706ecb6084af6fed359cc (diff) | |
download | UXP-ad453f0b28bf1ac30f889abf3ae38e95315295b0.tar UXP-ad453f0b28bf1ac30f889abf3ae38e95315295b0.tar.gz UXP-ad453f0b28bf1ac30f889abf3ae38e95315295b0.tar.lz UXP-ad453f0b28bf1ac30f889abf3ae38e95315295b0.tar.xz UXP-ad453f0b28bf1ac30f889abf3ae38e95315295b0.zip |
Issue #1391 - Remove the DOM battery API
Diffstat (limited to 'hal/sandbox/PHal.ipdl')
-rw-r--r-- | hal/sandbox/PHal.ipdl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/hal/sandbox/PHal.ipdl b/hal/sandbox/PHal.ipdl index 1af550aff..8701e1219 100644 --- a/hal/sandbox/PHal.ipdl +++ b/hal/sandbox/PHal.ipdl @@ -20,12 +20,6 @@ using PRTime from "prtime.h"; namespace mozilla { namespace hal { -struct BatteryInformation { - double level; - bool charging; - double remainingTime; -}; - struct SensorData { SensorType sensor; PRTime timestamp; @@ -69,7 +63,6 @@ nested(upto inside_cpow) sync protocol PHal { manager PContent; child: - async NotifyBatteryChange(BatteryInformation aBatteryInfo); async NotifyNetworkChange(NetworkInformation aNetworkInfo); async NotifyWakeLockChange(WakeLockInformation aWakeLockInfo); async NotifyScreenConfigurationChange(ScreenConfiguration aScreenOrientation); @@ -80,11 +73,6 @@ parent: async Vibrate(uint32_t[] pattern, uint64_t[] id, PBrowser browser); async CancelVibrate(uint64_t[] id, PBrowser browser); - async EnableBatteryNotifications(); - async DisableBatteryNotifications(); - sync GetCurrentBatteryInformation() - returns (BatteryInformation aBatteryInfo); - async EnableNetworkNotifications(); async DisableNetworkNotifications(); sync GetCurrentNetworkInformation() |