Bug 69553 - Add WKPageContextMenuClient callback when context menu is dismissed
Summary: Add WKPageContextMenuClient callback when context menu is dismissed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jeff Miller
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-10-06 13:06 PDT by Jeff Miller
Modified: 2011-10-07 19:45 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.97 KB, patch)
2011-10-07 16:47 PDT, Jeff Miller
beidson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Miller 2011-10-06 13:06:42 PDT
Currently, WKPageContextMenuClient has a callback that's invoked when a custom context menu item is chosen. It would be nice to have a new callback that's always invoked when a context menu is dismissed (either when no item is selected, a non-custom item is selected, or a custom item is selected). This could allow clients to clean up any persistent state they may keep around during menu navigation to handle custom menu items.
Comment 1 Radar WebKit Bug Importer 2011-10-06 13:06:59 PDT
<rdar://problem/10245835>
Comment 2 Jeff Miller 2011-10-07 16:47:59 PDT
Created attachment 110232 [details]
Patch
Comment 3 Jeff Miller 2011-10-07 19:45:17 PDT
Committed r97000: <http://trac.webkit.org/changeset/97000>