commit | 1fb554f3dc16510ea3d9a4eadb99ae5bef210c86 | [log] [tgz] |
---|---|---|
author | philipj@opera.com <philipj@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Oct 31 12:58:55 2013 |
committer | philipj@opera.com <philipj@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Oct 31 12:58:55 2013 |
tree | 31af92e22ebcd4a93eba94242f51e63a398c1cb9 | |
parent | d7c4a9a3032b968a73fffd65cef75be0547321e6 [diff] |
Use TextTrackMode and TextTrackKind enums in TextTrack IDL The generated code (modeAttributeSetter in V8TextTrack.cpp) now checks that the string is one of the three allowed values, so we can just assert it internally. Also fiddle a bit with the IDL to make it match the spec order. BUG=313602 Review URL: https://codereview.chromium.org/52593009 git-svn-id: svn://svn.chromium.org/blink/trunk@161055 bbb929c8-8fbe-4397-9dbb-9b2b20218538