mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
8a1d360c1a
The Async Clipboard API now allows using arbitrary promises for passing write data, potentially enabling websites to delay writing data to an arbitrary future, which may surprise the user. This patch introduces a solution: a new write request will automatically cancel any previous pending request. To implement that, this patch introduces a new method to nsIClipboard, new XPCOM interfaces, and new IPC to efficiently track individual write requests. Additionally, a new helper base class, ClipboardSetDataHelper, is introduced in widget to facilitate platform code sharing. Differential Revision: https://phabricator.services.mozilla.com/D174090 |
||
---|---|---|
.. | ||
tests | ||
HeadlessClipboard.cpp | ||
HeadlessClipboard.h | ||
HeadlessClipboardData.cpp | ||
HeadlessClipboardData.h | ||
HeadlessCompositorWidget.cpp | ||
HeadlessCompositorWidget.h | ||
HeadlessKeyBindings.cpp | ||
HeadlessKeyBindings.h | ||
HeadlessKeyBindingsCocoa.mm | ||
HeadlessLookAndFeel.h | ||
HeadlessLookAndFeelGTK.cpp | ||
HeadlessScreenHelper.cpp | ||
HeadlessScreenHelper.h | ||
HeadlessSound.cpp | ||
HeadlessSound.h | ||
HeadlessWidget.cpp | ||
HeadlessWidget.h | ||
HeadlessWidgetTypes.ipdlh | ||
moz.build |