mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 985484 - Remove TextTrackCue::CueChange. r=cpearce
This commit is contained in:
parent
5a499cf36e
commit
a8e926db00
@ -115,12 +115,6 @@ TextTrack::RemoveCue(TextTrackCue& aCue, ErrorResult& aRv)
|
||||
SetDirty();
|
||||
}
|
||||
|
||||
void
|
||||
TextTrack::CueChanged(TextTrackCue& aCue)
|
||||
{
|
||||
//XXX: Implement Cue changed. Bug 867823.
|
||||
}
|
||||
|
||||
void
|
||||
TextTrack::UpdateActiveCueList()
|
||||
{
|
||||
|
@ -111,7 +111,6 @@ public:
|
||||
|
||||
void AddCue(TextTrackCue& aCue);
|
||||
void RemoveCue(TextTrackCue& aCue, ErrorResult& aRv);
|
||||
void CueChanged(TextTrackCue& aCue);
|
||||
void SetDirty() { mDirty = true; }
|
||||
|
||||
TextTrackList* GetTextTrackList();
|
||||
|
@ -162,15 +162,7 @@ TextTrackCue::SetRegion(TextTrackRegion* aRegion)
|
||||
}
|
||||
mRegion = aRegion;
|
||||
mReset = true;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
void
|
||||
TextTrackCue::CueChanged()
|
||||
{
|
||||
if (mTrack) {
|
||||
mTrack->CueChanged(*this);
|
||||
}
|
||||
}
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
@ -75,7 +75,6 @@ public:
|
||||
}
|
||||
|
||||
mId = aId;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
double StartTime() const
|
||||
@ -91,7 +90,6 @@ public:
|
||||
|
||||
mStartTime = aStartTime;
|
||||
mReset = true;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
double EndTime() const
|
||||
@ -107,7 +105,6 @@ public:
|
||||
|
||||
mEndTime = aEndTime;
|
||||
mReset = true;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
bool PauseOnExit()
|
||||
@ -122,7 +119,6 @@ public:
|
||||
}
|
||||
|
||||
mPauseOnExit = aPauseOnExit;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
TextTrackRegion* GetRegion();
|
||||
@ -141,7 +137,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mVertical = aVertical;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
bool SnapToLines()
|
||||
@ -157,7 +152,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mSnapToLines = aSnapToLines;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
void GetLine(OwningLongOrAutoKeyword& aLine) const
|
||||
@ -175,13 +169,11 @@ public:
|
||||
(mLineIsAutoKeyword || (aLine.GetAsLong() != mLineLong))) {
|
||||
mLineIsAutoKeyword = false;
|
||||
mLineLong = aLine.GetAsLong();
|
||||
CueChanged();
|
||||
mReset = true;
|
||||
return;
|
||||
}
|
||||
if (aLine.IsAutoKeyword() && !mLineIsAutoKeyword) {
|
||||
mLineIsAutoKeyword = true;
|
||||
CueChanged();
|
||||
mReset = true;
|
||||
}
|
||||
}
|
||||
@ -203,7 +195,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mLineAlign = aLineAlign;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
int32_t Position() const
|
||||
@ -224,7 +215,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mPosition = aPosition;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
AlignSetting PositionAlign() const
|
||||
@ -244,7 +234,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mPositionAlign = aPositionAlign;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
int32_t Size() const
|
||||
@ -265,7 +254,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mSize = aSize;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
AlignSetting Align() const
|
||||
@ -281,7 +269,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mAlign = aAlign;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
void GetText(nsAString& aText) const
|
||||
@ -297,7 +284,6 @@ public:
|
||||
|
||||
mReset = true;
|
||||
mText = aText;
|
||||
CueChanged();
|
||||
}
|
||||
|
||||
IMPL_EVENT_HANDLER(enter)
|
||||
@ -343,7 +329,6 @@ public:
|
||||
void SetTrackElement(HTMLTrackElement* aTrackElement);
|
||||
|
||||
private:
|
||||
void CueChanged();
|
||||
void SetDefaultCueSettings();
|
||||
nsresult StashDocument(nsISupports* aGlobal);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user