RESOLVED FIXED 74995
[EFL][WK2] Implement context menu for EFL port
https://bugs.webkit.org/show_bug.cgi?id=74995
Summary [EFL][WK2] Implement context menu for EFL port
Gyuyoung Kim
Reported 2011-12-20 22:50:19 PST
Implement missing ContextMenuEfl class in order to support WK2's context menu. Because WK2's context menu still needs WebCore's context menu implementation. And of course, this patch also can be used for WK1 without CROSS_PLATFORM_CONTEXT_MENU option. Now, Bug 74179 supports context menu as well. But, the patch is to support context menu using CROSS_PLATFORM_CONTEXT_MENUS option. I think we also need to support context menu when CROSS_PLATFORM_CONTEXT_MENUS is disabled.
Attachments
Patch (9.09 KB, patch)
2011-12-20 22:52 PST, Gyuyoung Kim
no flags
Patch (7.64 KB, patch)
2011-12-20 23:15 PST, Gyuyoung Kim
no flags
Patch (7.93 KB, patch)
2011-12-21 23:18 PST, Gyuyoung Kim
no flags
Patch (7.93 KB, patch)
2011-12-21 23:21 PST, Gyuyoung Kim
no flags
Patch (8.18 KB, patch)
2011-12-26 02:27 PST, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2011-12-20 22:52:04 PST
Gyuyoung Kim
Comment 2 2011-12-20 22:53:28 PST
In addition, I use Vector class for PlatformMenuDescription. I didn't feel like using efl library for this.
Gyuyoung Kim
Comment 3 2011-12-20 23:15:52 PST
Martin Robinson
Comment 4 2011-12-21 21:59:01 PST
Comment on attachment 120149 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=120149&action=review > Source/WebCore/platform/efl/ContextMenuItemEfl.cpp:103 > void ContextMenuItem::setChecked(bool) > { > - notImplemented(); > + m_platformDescription.checked = checked; Shouldn't this use the argument? > Source/WebCore/platform/efl/ContextMenuItemEfl.cpp:114 > void ContextMenuItem::setEnabled(bool) > { > - notImplemented(); > + m_platformDescription.enabled = enabled; > } Ditto.
Gyuyoung Kim
Comment 5 2011-12-21 23:18:06 PST
Gyuyoung Kim
Comment 6 2011-12-21 23:18:40 PST
(In reply to comment #4) > (From update of attachment 120149 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=120149&action=review > > > Source/WebCore/platform/efl/ContextMenuItemEfl.cpp:103 > > void ContextMenuItem::setChecked(bool) > > { > > - notImplemented(); > > + m_platformDescription.checked = checked; > > Shouldn't this use the argument? > > > Source/WebCore/platform/efl/ContextMenuItemEfl.cpp:114 > > void ContextMenuItem::setEnabled(bool) > > { > > - notImplemented(); > > + m_platformDescription.enabled = enabled; > > } > > Ditto. Oops, my mistake. Fix them.
Gyuyoung Kim
Comment 7 2011-12-21 23:21:22 PST
Gyuyoung Kim
Comment 8 2011-12-26 02:27:52 PST
WebKit Review Bot
Comment 9 2011-12-26 23:30:36 PST
Comment on attachment 120540 [details] Patch Clearing flags on attachment: 120540 Committed r103702: <http://trac.webkit.org/changeset/103702>
WebKit Review Bot
Comment 10 2011-12-26 23:30:45 PST
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.