Bug 865407 - Part 6: Expose VTTCue::Reset to Chrome JS. r=bz

This commit is contained in:
Rick Eyre 2013-12-12 13:13:38 -05:00
parent 70ab9a1568
commit c4d0eeae90
2 changed files with 7 additions and 0 deletions

View File

@ -307,6 +307,11 @@ public:
mDisplayState = aDisplayState;
}
bool HasBeenReset()
{
return mReset;
}
// Helper functions for implementation.
bool
operator==(const TextTrackCue& rhs) const

View File

@ -58,4 +58,6 @@ interface VTTCue : EventTarget {
partial interface VTTCue {
[ChromeOnly]
attribute HTMLDivElement? displayState;
[ChromeOnly]
readonly attribute boolean hasBeenReset;
};