Bug 257175

Summary: Use OptionSet<PlatformEventModifier> instead of raw modifier flags in WebCore/page/Chrome
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Abrar Rahman Protyasha 2023-05-22 18:32:43 PDT
Currently we pass event modifiers as unsigned integral values rather than option sets into WebCore/page/Chrome. We should change this and pass around OptionSet<PlatformEventModifier> instead, which will allow us to roundtrip between the UI process and web process without translating between raw modifier flag values and option sets.
Comment 1 Radar WebKit Bug Importer 2023-05-22 18:32:54 PDT
<rdar://problem/109690336>
Comment 2 Abrar Rahman Protyasha 2023-05-22 22:54:36 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14230
Comment 3 EWS 2023-05-25 09:45:14 PDT
Committed 264519@main (310ec15a368c): <https://commits.webkit.org/264519@main>

Reviewed commits have been landed. Closing PR #14230 and removing active labels.