mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 865407 - Part 6: Expose VTTCue::Reset to Chrome JS. r=bz
This commit is contained in:
parent
70ab9a1568
commit
c4d0eeae90
@ -307,6 +307,11 @@ public:
|
||||
mDisplayState = aDisplayState;
|
||||
}
|
||||
|
||||
bool HasBeenReset()
|
||||
{
|
||||
return mReset;
|
||||
}
|
||||
|
||||
// Helper functions for implementation.
|
||||
bool
|
||||
operator==(const TextTrackCue& rhs) const
|
||||
|
@ -58,4 +58,6 @@ interface VTTCue : EventTarget {
|
||||
partial interface VTTCue {
|
||||
[ChromeOnly]
|
||||
attribute HTMLDivElement? displayState;
|
||||
[ChromeOnly]
|
||||
readonly attribute boolean hasBeenReset;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user