diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-28 15:46:41 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-28 15:47:07 +0000 |
commit | 08fb2f306856948ecc71974dd98c0a6d78df25aa (patch) | |
tree | dd008594a9e130c8f2f916de398915cd7e54ad90 /dom/base/Navigator.h | |
parent | 15ed0691f6fe6e558c7e733af9fca0586c4d554b (diff) | |
download | uxp-08fb2f306856948ecc71974dd98c0a6d78df25aa.tar.gz |
Issue #1391 - Remove the DOM battery API
Diffstat (limited to 'dom/base/Navigator.h')
-rw-r--r-- | dom/base/Navigator.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/base/Navigator.h b/dom/base/Navigator.h index 4ddaaabab4..bcc67589e9 100644 --- a/dom/base/Navigator.h +++ b/dom/base/Navigator.h @@ -51,10 +51,6 @@ namespace dom { class Permissions; -namespace battery { -class BatteryManager; -} // namespace battery - class Promise; class DesktopNotificationCenter; @@ -136,7 +132,6 @@ public: Permissions* GetPermissions(ErrorResult& aRv); // The XPCOM GetDoNotTrack is ok Geolocation* GetGeolocation(ErrorResult& aRv); - Promise* GetBattery(ErrorResult& aRv); static void AppName(nsAString& aAppName, bool aUsePrefOverriddenValue); @@ -269,8 +264,6 @@ private: RefPtr<Permissions> mPermissions; RefPtr<Geolocation> mGeolocation; RefPtr<DesktopNotificationCenter> mNotification; - RefPtr<battery::BatteryManager> mBatteryManager; - RefPtr<Promise> mBatteryPromise; RefPtr<PowerManager> mPowerManager; RefPtr<network::Connection> mConnection; #ifdef MOZ_AUDIO_CHANNEL_MANAGER |