зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1414680 - Remove IsActive() and IsHidden() from MediaDecoderOwner as they're unused by MediaDecoder. r=jwwang
MozReview-Commit-ID: 7NaPBmQJVQC --HG-- extra : rebase_source : 0cfe05a1aefb23a4070b2855569110e7a4ab6b2c
This commit is contained in:
Родитель
fc668a36e7
Коммит
d716365ee0
|
@ -221,9 +221,9 @@ public:
|
||||||
// suspended the channel.
|
// suspended the channel.
|
||||||
virtual void NotifySuspendedByCache(bool aSuspendedByCache) final override;
|
virtual void NotifySuspendedByCache(bool aSuspendedByCache) final override;
|
||||||
|
|
||||||
virtual bool IsActive() const final override;
|
bool IsActive() const;
|
||||||
|
|
||||||
virtual bool IsHidden() const final override;
|
bool IsHidden() const;
|
||||||
|
|
||||||
// Called by the media decoder and the video frame to get the
|
// Called by the media decoder and the video frame to get the
|
||||||
// ImageContainer containing the video data.
|
// ImageContainer containing the video data.
|
||||||
|
|
|
@ -118,12 +118,6 @@ public:
|
||||||
NEXT_FRAME_UNINITIALIZED
|
NEXT_FRAME_UNINITIALIZED
|
||||||
};
|
};
|
||||||
|
|
||||||
// Check if the decoder owner is active.
|
|
||||||
virtual bool IsActive() const = 0;
|
|
||||||
|
|
||||||
// Check if the decoder owner is hidden.
|
|
||||||
virtual bool IsHidden() const = 0;
|
|
||||||
|
|
||||||
// Called by media decoder when the audible state changed
|
// Called by media decoder when the audible state changed
|
||||||
virtual void SetAudibleState(bool aAudible) = 0;
|
virtual void SetAudibleState(bool aAudible) = 0;
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,6 @@ public:
|
||||||
void FirstFrameLoaded() override {}
|
void FirstFrameLoaded() override {}
|
||||||
void DispatchEncrypted(const nsTArray<uint8_t>& aInitData,
|
void DispatchEncrypted(const nsTArray<uint8_t>& aInitData,
|
||||||
const nsAString& aInitDataType) override {}
|
const nsAString& aInitDataType) override {}
|
||||||
bool IsActive() const override { return true; }
|
|
||||||
bool IsHidden() const override { return false; }
|
|
||||||
void DownloadSuspended() override {}
|
void DownloadSuspended() override {}
|
||||||
void DownloadResumed(bool aForceNetworkLoading) override {}
|
void DownloadResumed(bool aForceNetworkLoading) override {}
|
||||||
void NotifySuspendedByCache(bool aIsSuspended) override {}
|
void NotifySuspendedByCache(bool aIsSuspended) override {}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче