Turn this enum into an enum class.
<rdar://problem/111711479>
Pull request: https://github.com/WebKit/WebKit/pull/15521
Committed 265758@main (16742b129440): <https://commits.webkit.org/265758@main> Reviewed commits have been landed. Closing PR #15521 and removing active labels.