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 113958
Add SPI to get a copy of the context menu at a given point.
https://bugs.webkit.org/show_bug.cgi?id=113958
Summary
Add SPI to get a copy of the context menu at a given point.
Brady Eidson
Reported
2013-04-04 13:59:03 PDT
Add SPI to get a copy of the context menu at a given point. This is similar to [NSView menuForEvent:] in Cocoa/WebKit1 In radar as <
rdar://problem/13450908
>
Attachments
Patch v1 - First swipe
(4.03 KB, patch)
2013-04-04 14:01 PDT
,
Brady Eidson
aestes
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2013-04-04 14:01:44 PDT
Created
attachment 196525
[details]
Patch v1 - First swipe
Andy Estes
Comment 2
2013-04-04 16:23:53 PDT
Comment on
attachment 196525
[details]
Patch v1 - First swipe View in context:
https://bugs.webkit.org/attachment.cgi?id=196525&action=review
r=me with a comment
> Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:81 > +WK_EXPORT WKArrayRef WKBundlePageCopyContextMenuAtPoint(WKBundlePageRef, WKPoint);
We should be clear what coordinate space we expect the point to be in, since your code in WebPage::contextMenuAtPoint() creates a mouse event assuming screen coordinate space. We decided on WKBundlePageCopyContextMenuAtPointOnScreen() over IRC.
Brady Eidson
Comment 3
2013-04-05 09:25:12 PDT
http://trac.webkit.org/changeset/147752
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