gecko-dev/widget/headless
Edgar Chen 8a1d360c1a Bug 1712122 - Part 3: Cancel pending write request when a new write request is made; r=nika,geckoview-reviewers,m_kato
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
2023-05-14 21:02:08 +00:00
..
tests
HeadlessClipboard.cpp Bug 1712122 - Part 3: Cancel pending write request when a new write request is made; r=nika,geckoview-reviewers,m_kato 2023-05-14 21:02:08 +00:00
HeadlessClipboard.h Bug 1712122 - Part 3: Cancel pending write request when a new write request is made; r=nika,geckoview-reviewers,m_kato 2023-05-14 21:02:08 +00:00
HeadlessClipboardData.cpp
HeadlessClipboardData.h
HeadlessCompositorWidget.cpp
HeadlessCompositorWidget.h
HeadlessKeyBindings.cpp
HeadlessKeyBindings.h
HeadlessKeyBindingsCocoa.mm
HeadlessLookAndFeel.h
HeadlessLookAndFeelGTK.cpp Bug 1794628 - Implement inverted-colors media feature r=geckoview-reviewers,morgan,emilio,m_kato,cmartin 2023-04-11 13:34:00 +00:00
HeadlessScreenHelper.cpp
HeadlessScreenHelper.h
HeadlessSound.cpp
HeadlessSound.h
HeadlessWidget.cpp Bug 1823284 - Use SizeModeChanged notification to handle fullscreen change; r=geckoview-reviewers,rkraesig,stransky,bradwerth,smaug,m_kato 2023-04-23 21:28:43 +00:00
HeadlessWidget.h
HeadlessWidgetTypes.ipdlh
moz.build Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00