Reland "[X11] Make IsSelectionOwner asynchronous in PlatformClipboard" [chromium/src : main]

0 views
Skip to first unread message

Thomas Anderson (Gerrit)

unread,
Mar 16, 2026, 1:38:39 PMMar 16
to AyeAye, Lei Zhang, Chromium LUCI CQ, Kramer Ge, Sadrul Chowdhury, chromium...@chromium.org, David Baron, omnibox-...@chromium.org, jdonnel...@chromium.org, dcheng+c...@chromium.org, ozone-...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com
Attention needed from Kramer Ge and Lei Zhang

Thomas Anderson added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Thomas Anderson . resolved

reviewers ptal. the only delta for the reland is chrome/browser/ui/omnibox/omnibox_view_browsertest.cc

Open in Gerrit

Related details

Attention is currently required from:
  • Kramer Ge
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I9221926596b8b03fc2396be470a2cb1d66851134
Gerrit-Change-Number: 7670817
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: David Baron <dba...@chromium.org>
Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Attention: Kramer Ge <fang...@chromium.org>
Gerrit-Comment-Date: Mon, 16 Mar 2026 17:38:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Mar 16, 2026, 1:44:49 PMMar 16
to Thomas Anderson, Lei Zhang, AyeAye, Chromium LUCI CQ, Kramer Ge, Sadrul Chowdhury, chromium...@chromium.org, David Baron, omnibox-...@chromium.org, jdonnel...@chromium.org, dcheng+c...@chromium.org, ozone-...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com
Attention needed from Kramer Ge and Thomas Anderson

Lei Zhang voted and added 1 comment

Votes added by Lei Zhang

Code-Review+1

1 comment

Commit Message
Line 10, Patchset 3 (Latest):
Lei Zhang . unresolved

Describe the fix that makes this reland safe.

Open in Gerrit

Related details

Attention is currently required from:
  • Kramer Ge
  • Thomas Anderson
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I9221926596b8b03fc2396be470a2cb1d66851134
    Gerrit-Change-Number: 7670817
    Gerrit-PatchSet: 3
    Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-CC: David Baron <dba...@chromium.org>
    Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
    Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Attention: Kramer Ge <fang...@chromium.org>
    Gerrit-Comment-Date: Mon, 16 Mar 2026 17:44:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Thomas Anderson (Gerrit)

    unread,
    Mar 16, 2026, 2:13:14 PMMar 16
    to Lei Zhang, AyeAye, Chromium LUCI CQ, Kramer Ge, Sadrul Chowdhury, chromium...@chromium.org, David Baron, omnibox-...@chromium.org, jdonnel...@chromium.org, dcheng+c...@chromium.org, ozone-...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com
    Attention needed from Kramer Ge

    Thomas Anderson voted and added 1 comment

    Votes added by Thomas Anderson

    Auto-Submit+1
    Commit-Queue+1

    1 comment

    Commit Message
    Line 10, Patchset 3:
    Lei Zhang . resolved

    Describe the fix that makes this reland safe.

    Thomas Anderson

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kramer Ge
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9221926596b8b03fc2396be470a2cb1d66851134
      Gerrit-Change-Number: 7670817
      Gerrit-PatchSet: 4
      Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: David Baron <dba...@chromium.org>
      Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
      Gerrit-Attention: Kramer Ge <fang...@chromium.org>
      Gerrit-Comment-Date: Mon, 16 Mar 2026 18:12:58 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Kramer Ge (Gerrit)

      unread,
      Mar 16, 2026, 2:26:22 PMMar 16
      to Thomas Anderson, Lei Zhang, AyeAye, Chromium LUCI CQ, Sadrul Chowdhury, chromium...@chromium.org, David Baron, omnibox-...@chromium.org, jdonnel...@chromium.org, dcheng+c...@chromium.org, ozone-...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com
      Attention needed from Thomas Anderson

      Kramer Ge voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Thomas Anderson
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9221926596b8b03fc2396be470a2cb1d66851134
      Gerrit-Change-Number: 7670817
      Gerrit-PatchSet: 4
      Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: David Baron <dba...@chromium.org>
      Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
      Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Comment-Date: Mon, 16 Mar 2026 18:26:16 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Mar 16, 2026, 4:10:38 PMMar 16
      to Thomas Anderson, Kramer Ge, Lei Zhang, AyeAye, Sadrul Chowdhury, chromium...@chromium.org, David Baron, omnibox-...@chromium.org, jdonnel...@chromium.org, dcheng+c...@chromium.org, ozone-...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Reland "[X11] Make IsSelectionOwner asynchronous in PlatformClipboard"

      This is a reland of commit 8dc861921d9d2891e2e2c58f9f9404a59416d2aa

      OmniboxViewTest.Paste is updated to wait for async clipboard operations
      to complete.

      Original change's description:
      > [X11] Make IsSelectionOwner asynchronous in PlatformClipboard
      >
      > This change refactors the IsSelectionOwner method in the
      > PlatformClipboard interface and its implementations to be asynchronous.
      > This allows the X11 backend to eliminate a synchronous X11 Sync() call
      > in GetSelectionOwner, furthering the goal of an entirely asynchronous
      > clipboard architecture.
      >
      > R=thestig
      >
      > Change-Id: Ic616ebb106d3fcb36a83a47c70da6742887a70d3
      > Bug: 40398800
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7659748
      > Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
      > Auto-Submit: Thomas Anderson <thomasa...@chromium.org>
      > Reviewed-by: Kramer Ge <fang...@chromium.org>
      > Reviewed-by: Lei Zhang <the...@chromium.org>
      > Cr-Commit-Position: refs/heads/main@{#1599158}
      Cq-Include-Trybots: luci.chrome.try:linux64-rel-ready
      Bug: 40398800
      Change-Id: I9221926596b8b03fc2396be470a2cb1d66851134
      Auto-Submit: Thomas Anderson <thomasa...@chromium.org>
      Reviewed-by: Kramer Ge <fang...@chromium.org>
      Reviewed-by: Lei Zhang <the...@chromium.org>
      Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
      Commit-Queue: Kramer Ge <fang...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1600073}
      Files:
      • M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
      • M ui/base/clipboard/clipboard_ozone.cc
      • M ui/base/x/x11_clipboard_helper.cc
      • M ui/base/x/x11_clipboard_helper.h
      • M ui/ozone/platform/wayland/host/wayland_clipboard.cc
      • M ui/ozone/platform/wayland/host/wayland_clipboard.h
      • M ui/ozone/platform/wayland/host/wayland_clipboard_unittest.cc
      • M ui/ozone/platform/x11/x11_clipboard_ozone.cc
      • M ui/ozone/platform/x11/x11_clipboard_ozone.h
      • M ui/ozone/public/platform_clipboard.h
      Change size: M
      Delta: 10 files changed, 150 insertions(+), 51 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Kramer Ge, +1 by Lei Zhang
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I9221926596b8b03fc2396be470a2cb1d66851134
      Gerrit-Change-Number: 7670817
      Gerrit-PatchSet: 5
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages