WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 86838
[EFL][DRT] Key modifier bit flags have enum type.
https://bugs.webkit.org/show_bug.cgi?id=86838
Summary
[EFL][DRT] Key modifier bit flags have enum type.
Mikhail Pozdnyakov
Reported
2012-05-18 03:22:39 PDT
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.
Attachments
patch
(2.65 KB, patch)
2012-05-18 04:47 PDT
,
Mikhail Pozdnyakov
no flags
Details
Formatted Diff
Diff
patch v2 (review comments are met)
(7.47 KB, patch)
2012-05-21 07:01 PDT
,
Mikhail Pozdnyakov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mikhail Pozdnyakov
Comment 1
2012-05-18 04:47:45 PDT
Created
attachment 142686
[details]
patch
Raphael Kubo da Costa (:rakuco)
Comment 2
2012-05-18 08:00:19 PDT
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.
Mikhail Pozdnyakov
Comment 3
2012-05-21 07:01:49 PDT
Created
attachment 143025
[details]
patch v2 (review comments are met)
Raphael Kubo da Costa (:rakuco)
Comment 4
2012-05-21 08:21:29 PDT
Comment on
attachment 143025
[details]
patch v2 (review comments are met) Looks good to me.
WebKit Review Bot
Comment 5
2012-05-22 11:11:13 PDT
Comment on
attachment 143025
[details]
patch v2 (review comments are met) Clearing flags on attachment: 143025 Committed
r118006
: <
http://trac.webkit.org/changeset/118006
>
WebKit Review Bot
Comment 6
2012-05-22 11:11:18 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug