Key modifier bit flags have enum type. It causes problems as a key can have several modifiers at the same time and the union of modifiers (i.e. EvasKeyModifierControl | EvasKeyModifierShift) will be out of EvasKeyModifier enum, so refactoring is needed here.
Created attachment 142686 [details] patch
Comment on attachment 142686 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=142686&action=review I'd rather change the type of KeyEventInfo::modifiers to unsigned (as is already done in places such as PlatformEvent.h in WebCore) and keep the enum an enum. > Tools/ChangeLog:8 > + Refactoring. EvasKeyModifier is unsigned int. Your explanation in the original bug comment is much more helpful, please consider adding it here.
Created attachment 143025 [details] patch v2 (review comments are met)
Comment on attachment 143025 [details] patch v2 (review comments are met) Looks good to me.
Comment on attachment 143025 [details] patch v2 (review comments are met) Clearing flags on attachment: 143025 Committed r118006: <http://trac.webkit.org/changeset/118006>
All reviewed patches have been landed. Closing bug.