Turn this enum into an enum class.
Pull request: https://github.com/WebKit/WebKit/pull/13685
Committed 263923@main (7e98f47ac490): <https://commits.webkit.org/263923@main> Reviewed commits have been landed. Closing PR #13685 and removing active labels.
<rdar://problem/109166692>