Port remaining simple WebCore Enum types to the new serialization format
<rdar://problem/106150003>
Pull request: https://github.com/WebKit/WebKit/pull/10948
Pull request: https://github.com/WebKit/WebKit/pull/15826
Committed 266099@main (51d9b8fdc91f): <https://commits.webkit.org/266099@main> Reviewed commits have been landed. Closing PR #15826 and removing active labels.