Closed Bug 1851817 Opened 2 years ago Closed 2 years ago

Make GTK nsClipboard use nsBaseClipboard

Categories

(Core :: Widget: Gtk, task, P2)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(5 files)

No description provided.

Then we can merge ClipboardSetDataHelper and nsBaseClipboard.

Depends on: 1852783

This is mainly added for GTK which supports getting clipboard data asynchrously.
For other platforms that don't support asynchrously reading, they could use
the default implementation which just wraps the HasNativeClipboardDataMatchingFlavors
instead.

This is mainly added for GTK which supports getting clipboard data asynchrously.
For other platforms that don't support asynchrously reading, they could use
the default implementation which just wraps the GetNativeClipboardData instead.

Depends on D188249

Type: defect → task
Attachment #9353185 - Attachment description: WIP: Bug 1851817 - Part 1: Add HasNativeClipboardDataMatchingFlavorsAsync; → Bug 1851817 - Part 1: Add AsyncHasNativeClipboardDataMatchingFlavors;
Attachment #9353186 - Attachment description: WIP: Bug 1851817 - Part 2: Add GetNativeClipboardDataAsync; → Bug 1851817 - Part 2: Add AsyncGetNativeClipboardData;
Attachment #9353187 - Attachment description: WIP: Bug 1851817 - Part 3: Make GTK support clipboard data sequence number; → Bug 1851817 - Part 3: Make GTK support clipboard data sequence number;
Attachment #9353188 - Attachment description: WIP: Bug 1851817 - Part 4: Make GTK nsClipboard use nsBaseClipboard; → Bug 1851817 - Part 4: Make GTK nsClipboard use nsBaseClipboard;
Attachment #9353189 - Attachment description: WIP: Bug 1851817 - Part 5: Merge ClipboardSetDataHelper into nsBaseClipboard; → Bug 1851817 - Part 5: Merge ClipboardSetDataHelper into nsBaseClipboard;
Attachment #9353185 - Attachment description: Bug 1851817 - Part 1: Add AsyncHasNativeClipboardDataMatchingFlavors; → Bug 1851817 - Part 1: Add AsyncHasNativeClipboardDataMatchingFlavors; r?spohl!,stransky!
Attachment #9353186 - Attachment description: Bug 1851817 - Part 2: Add AsyncGetNativeClipboardData; → Bug 1851817 - Part 2: Add AsyncGetNativeClipboardData; r?spohl!,stransky!
Attachment #9353187 - Attachment description: Bug 1851817 - Part 3: Make GTK support clipboard data sequence number; → Bug 1851817 - Part 3: Make GTK support clipboard data sequence number; r?stransky
Attachment #9353188 - Attachment description: Bug 1851817 - Part 4: Make GTK nsClipboard use nsBaseClipboard; → Bug 1851817 - Part 4: Make GTK nsClipboard use nsBaseClipboard; r?stransky
Attachment #9353189 - Attachment description: Bug 1851817 - Part 5: Merge ClipboardSetDataHelper into nsBaseClipboard; → Bug 1851817 - Part 5: Merge ClipboardSetDataHelper into nsBaseClipboard; r?spohl
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3c15030aa8a Part 1: Add AsyncHasNativeClipboardDataMatchingFlavors; r=spohl,stransky https://hg.mozilla.org/integration/autoland/rev/b46e4efa80ae Part 2: Add AsyncGetNativeClipboardData; r=spohl,stransky https://hg.mozilla.org/integration/autoland/rev/0ea5e417de98 Part 3: Make GTK support clipboard data sequence number; r=stransky https://hg.mozilla.org/integration/autoland/rev/7c035f460830 Part 4: Make GTK nsClipboard use nsBaseClipboard; r=stransky https://hg.mozilla.org/integration/autoland/rev/72e7e4417cc9 Part 5: Merge ClipboardSetDataHelper into nsBaseClipboard; r=spohl
Flags: needinfo?(echen)
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c475be718c06 Part 1: Add AsyncHasNativeClipboardDataMatchingFlavors; r=spohl,stransky https://hg.mozilla.org/integration/autoland/rev/586d745c3b53 Part 2: Add AsyncGetNativeClipboardData; r=spohl,stransky https://hg.mozilla.org/integration/autoland/rev/a0e437dbd349 Part 3: Make GTK support clipboard data sequence number; r=stransky https://hg.mozilla.org/integration/autoland/rev/dd62e985e214 Part 4: Make GTK nsClipboard use nsBaseClipboard; r=stransky https://hg.mozilla.org/integration/autoland/rev/7cc8baac415e Part 5: Merge ClipboardSetDataHelper into nsBaseClipboard; r=spohl
Regressions: 1859976
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: