Make this enum an enum class and also use OptionSet.
Pull request: https://github.com/WebKit/WebKit/pull/13829
Committed 264043@main (9c0ccddd3293): <https://commits.webkit.org/264043@main> Reviewed commits have been landed. Closing PR #13829 and removing active labels.
<rdar://problem/109295756>