summaryrefslogtreecommitdiff
path: root/dom/base/nsGlobalWindow.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-11 06:43:10 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-11 06:43:10 +0000
commitcc8a7e3f7b7d40967d2dd537b6343c87ba9138c7 (patch)
treebe5418a62494a956557ac0e769773ed2d558fdde /dom/base/nsGlobalWindow.h
parentdce8a3300b191eeebee6f15f3f6e0f5a12a177b1 (diff)
downloaduxp-cc8a7e3f7b7d40967d2dd537b6343c87ba9138c7.tar.gz
Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE
Diffstat (limited to 'dom/base/nsGlobalWindow.h')
-rw-r--r--dom/base/nsGlobalWindow.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h
index de9b9f4d4c..c9c661dd53 100644
--- a/dom/base/nsGlobalWindow.h
+++ b/dom/base/nsGlobalWindow.h
@@ -135,9 +135,6 @@ class TabGroup;
class Timeout;
class U2F;
class WakeLock;
-#if defined(MOZ_WIDGET_ANDROID)
-class WindowOrientationObserver;
-#endif
class Worklet;
namespace cache {
class CacheStorage;
@@ -622,11 +619,6 @@ public:
virtual void EnableDeviceSensor(uint32_t aType) override;
virtual void DisableDeviceSensor(uint32_t aType) override;
-#if defined(MOZ_WIDGET_ANDROID)
- virtual void EnableOrientationChangeListener() override;
- virtual void DisableOrientationChangeListener() override;
-#endif
-
virtual void EnableTimeChangeNotifications() override;
virtual void DisableTimeChangeNotifications() override;
@@ -884,10 +876,6 @@ public:
nsIDOMOfflineResourceList* GetApplicationCache(mozilla::ErrorResult& aError);
already_AddRefed<nsIDOMOfflineResourceList> GetApplicationCache() override;
-#if defined(MOZ_WIDGET_ANDROID)
- int16_t Orientation(mozilla::dom::CallerType aCallerType) const;
-#endif
-
mozilla::dom::Console* GetConsole(mozilla::ErrorResult& aRv);
// https://w3c.github.io/webappsec-secure-contexts/#dom-window-issecurecontext
@@ -1915,10 +1903,6 @@ protected:
nsTArray<uint32_t> mEnabledSensors;
-#if defined(MOZ_WIDGET_ANDROID)
- nsAutoPtr<mozilla::dom::WindowOrientationObserver> mOrientationChangeObserver;
-#endif
-
#ifdef MOZ_WEBSPEECH
// mSpeechSynthesis is only used on inner windows.
RefPtr<mozilla::dom::SpeechSynthesis> mSpeechSynthesis;