[Drag and Drop] Add onTouchListener for drag handle [chromium/src : main]

0 views
Skip to first unread message

Eleanor Lee (Gerrit)

unread,
Dec 21, 2025, 10:37:55 PM (5 days ago) Dec 21
to Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
Attention needed from Brandon Wylie and Mark Schillaci

Eleanor Lee added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Eleanor Lee . unresolved

Unit tests will be added as a chained CL since this CL is already large.

Open in Gerrit

Related details

Attention is currently required from:
  • Brandon Wylie
  • Mark Schillaci
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
Gerrit-Change-Number: 7293011
Gerrit-PatchSet: 3
Gerrit-Owner: Eleanor Lee <elean...@google.com>
Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
Gerrit-Attention: Mark Schillaci <mschi...@google.com>
Gerrit-Attention: Brandon Wylie <wyl...@google.com>
Gerrit-Comment-Date: Mon, 22 Dec 2025 03:37:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mark Schillaci (Gerrit)

unread,
Dec 22, 2025, 10:43:42 AM (5 days ago) Dec 22
to Eleanor Lee, Brandon Wylie, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
Attention needed from Brandon Wylie

Mark Schillaci voted and added 1 comment

Votes added by Mark Schillaci

Code-Review+1

1 comment

Patchset-level comments
Mark Schillaci . resolved

lgtm! thanks eleanor!

Open in Gerrit

Related details

Attention is currently required from:
  • Brandon Wylie
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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
    Gerrit-Change-Number: 7293011
    Gerrit-PatchSet: 3
    Gerrit-Owner: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
    Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
    Gerrit-Attention: Brandon Wylie <wyl...@google.com>
    Gerrit-Comment-Date: Mon, 22 Dec 2025 15:43:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Brandon Wylie (Gerrit)

    unread,
    Dec 22, 2025, 2:28:27 PM (4 days ago) Dec 22
    to Eleanor Lee, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
    Attention needed from Eleanor Lee

    Brandon Wylie voted and added 1 comment

    Votes added by Brandon Wylie

    Code-Review+1

    1 comment

    Patchset-level comments
    Brandon Wylie . resolved

    lgtm

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Eleanor Lee
    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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
    Gerrit-Change-Number: 7293011
    Gerrit-PatchSet: 3
    Gerrit-Owner: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
    Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
    Gerrit-Attention: Eleanor Lee <elean...@google.com>
    Gerrit-Comment-Date: Mon, 22 Dec 2025 19:28:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Eleanor Lee (Gerrit)

    unread,
    Dec 22, 2025, 2:39:21 PM (4 days ago) Dec 22
    to Matthew Jones, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org

    Eleanor Lee removed Matthew Jones from this change

    Deleted Reviewers:
    • Matthew Jones
    Open in Gerrit

    Related details

    Attention set is empty
    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: deleteReviewer
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Wenyu Fu (Gerrit)

    unread,
    Dec 22, 2025, 5:27:16 PM (4 days ago) Dec 22
    to Eleanor Lee, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
    Attention needed from Eleanor Lee

    Wenyu Fu added 4 comments

    Patchset-level comments
    Wenyu Fu . resolved

    Naive question on the approach/ I don't have access to the design doc, so maybe some of the question already have answers

    File chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
    Line 393, Patchset 3 (Latest): for (int i = childrenCount - 1; i >= 0; --i) {
    Wenyu Fu . unresolved

    Not a great fan of this traversal... it seems this section is meant to update the mouse icon during drag and drop.

    Since Android event dispatcher usually starts from the child, back to the parent, I wonder if you can just override the child view's `onResolvePointerIcon` that you care about?

    Line 408, Patchset 3 (Latest): event.setLocation(localX, localY);
    Wenyu Fu . unresolved
    File components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/dragreorder/DragReorderableRecyclerViewAdapter.java
    Line 150, Patchset 3 (Latest): for (int i = 0; i < mRecyclerView.getChildCount(); i++) {
    View child = mRecyclerView.getChildAt(i);
    child.setPointerIcon(icon);
    }
    Wenyu Fu . unresolved

    This loops through the entire RecyclerView when a selection state changes, which feels quite expensive...

    I wonder if we could just make the recycler view children a custom view that can handle reading the icon from a supplier (which owned by either the adapter or the coordinator)?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Eleanor Lee
    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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
    Gerrit-Change-Number: 7293011
    Gerrit-PatchSet: 3
    Gerrit-Owner: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
    Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
    Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
    Gerrit-Attention: Eleanor Lee <elean...@google.com>
    Gerrit-Comment-Date: Mon, 22 Dec 2025 22:27:05 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Eleanor Lee (Gerrit)

    unread,
    Dec 23, 2025, 12:23:18 AM (4 days ago) Dec 23
    to Wenyu Fu, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
    Attention needed from Wenyu Fu

    Eleanor Lee added 5 comments

    Patchset-level comments
    Wenyu Fu . resolved

    Naive question on the approach/ I don't have access to the design doc, so maybe some of the question already have answers

    Eleanor Lee

    Added a direct link to the design doc in the bug comment #2 and now I think anyone with the link can view the doc.

    File-level comment, Patchset 3:
    Eleanor Lee . resolved

    Unit tests will be added as a chained CL since this CL is already large.

    Eleanor Lee

    Done

    File chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
    Line 393, Patchset 3: for (int i = childrenCount - 1; i >= 0; --i) {
    Wenyu Fu . unresolved

    Not a great fan of this traversal... it seems this section is meant to update the mouse icon during drag and drop.

    Since Android event dispatcher usually starts from the child, back to the parent, I wonder if you can just override the child view's `onResolvePointerIcon` that you care about?

    Eleanor Lee

    That is what I tried at first, but I think we directly need to modify CompositorViewHolder#onResolvePointerIcon. The reasoning is in this portion of the design doc (Section 8. in Proposed Design Changes):

    https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&tab=t.0#heading=h.p7wl97r9qfco


    There is also an on-going discussion with Theresa about why I added this specific traversal logic:

    https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&disco=AAABuzU3XdM

    Line 408, Patchset 3: event.setLocation(localX, localY);
    Wenyu Fu . resolved
    Eleanor Lee

    Done

    File components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/dragreorder/DragReorderableRecyclerViewAdapter.java
    Line 150, Patchset 3: for (int i = 0; i < mRecyclerView.getChildCount(); i++) {

    View child = mRecyclerView.getChildAt(i);
    child.setPointerIcon(icon);
    }
    Wenyu Fu . resolved

    This loops through the entire RecyclerView when a selection state changes, which feels quite expensive...

    I wonder if we could just make the recycler view children a custom view that can handle reading the icon from a supplier (which owned by either the adapter or the coordinator)?

    Eleanor Lee

    I think mRecyclerView.getChildCount() only returns the visible view count instead of the adapter count:

    https://paste.googleplex.com/6260333788397568

    And I think the loop is called only when the drag state changes (start drag, end drag, etc) so it does not run continuously during scroll or hover.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Wenyu Fu
    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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
    Gerrit-Change-Number: 7293011
    Gerrit-PatchSet: 4
    Gerrit-Owner: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
    Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
    Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
    Gerrit-Attention: Wenyu Fu <wen...@chromium.org>
    Gerrit-Comment-Date: Tue, 23 Dec 2025 05:23:07 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Eleanor Lee <elean...@google.com>
    Comment-In-Reply-To: Wenyu Fu <wen...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Wenyu Fu (Gerrit)

    unread,
    Dec 23, 2025, 2:29:08 PM (3 days ago) Dec 23
    to Eleanor Lee, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
    Attention needed from Eleanor Lee

    Wenyu Fu added 1 comment

    File chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
    Line 393, Patchset 3: for (int i = childrenCount - 1; i >= 0; --i) {
    Wenyu Fu . unresolved

    Not a great fan of this traversal... it seems this section is meant to update the mouse icon during drag and drop.

    Since Android event dispatcher usually starts from the child, back to the parent, I wonder if you can just override the child view's `onResolvePointerIcon` that you care about?

    Eleanor Lee

    That is what I tried at first, but I think we directly need to modify CompositorViewHolder#onResolvePointerIcon. The reasoning is in this portion of the design doc (Section 8. in Proposed Design Changes):

    https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&tab=t.0#heading=h.p7wl97r9qfco


    There is also an on-going discussion with Theresa about why I added this specific traversal logic:

    https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&disco=AAABuzU3XdM

    Wenyu Fu

    Thanks for the pointer. I see now why you want to replicate this logic (See my comment in https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&disco=AAAByDAW4vs)

    ---

    I do wonder though, if we can just check if the current mView is a native view, then just call the super method, to bypass these web content's pointer resolution logic?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Eleanor Lee
    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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
    Gerrit-Change-Number: 7293011
    Gerrit-PatchSet: 4
    Gerrit-Owner: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
    Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
    Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
    Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
    Gerrit-Attention: Eleanor Lee <elean...@google.com>
    Gerrit-Comment-Date: Tue, 23 Dec 2025 19:28:54 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Eleanor Lee (Gerrit)

    unread,
    5:25 PM (6 hours ago) 5:25 PM
    to Wenyu Fu, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
    Attention needed from Wenyu Fu

    Eleanor Lee added 1 comment

    File chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
    Line 393, Patchset 3: for (int i = childrenCount - 1; i >= 0; --i) {
    Wenyu Fu . resolved

    Not a great fan of this traversal... it seems this section is meant to update the mouse icon during drag and drop.

    Since Android event dispatcher usually starts from the child, back to the parent, I wonder if you can just override the child view's `onResolvePointerIcon` that you care about?

    Eleanor Lee

    That is what I tried at first, but I think we directly need to modify CompositorViewHolder#onResolvePointerIcon. The reasoning is in this portion of the design doc (Section 8. in Proposed Design Changes):

    https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&tab=t.0#heading=h.p7wl97r9qfco


    There is also an on-going discussion with Theresa about why I added this specific traversal logic:

    https://docs.google.com/document/d/1NKsngqlhivcnXKt3sAoTmb43gimqb0VmySNDXa6ET9g/edit?resourcekey=0-lrr3M6yb-Rc3xcA_KGEFlg&disco=AAABuzU3XdM

    Eleanor Lee

    Done.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Wenyu Fu
    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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
      Gerrit-Change-Number: 7293011
      Gerrit-PatchSet: 5
      Gerrit-Owner: Eleanor Lee <elean...@google.com>
      Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
      Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
      Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
      Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
      Gerrit-Attention: Wenyu Fu <wen...@chromium.org>
      Gerrit-Comment-Date: Fri, 26 Dec 2025 22:24:53 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Wenyu Fu (Gerrit)

      unread,
      5:30 PM (6 hours ago) 5:30 PM
      to Eleanor Lee, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org
      Attention needed from Eleanor Lee

      Wenyu Fu voted and added 2 comments

      Votes added by Wenyu Fu

      Code-Review+1

      2 comments

      Patchset-level comments
      File-level comment, Patchset 5 (Latest):
      Wenyu Fu . resolved

      Glad this solution in patch#5 (forwarding event from CVH to mView) works :)

      File chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
      Line 390, Patchset 5 (Latest): // Android has found the grabbing/grab cursor.
      Wenyu Fu . unresolved

      nit: Remove this comment line - it's not necessary a grab cursor, it could be other views that has the cursor icon set ;)

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Eleanor Lee
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
      Gerrit-Change-Number: 7293011
      Gerrit-PatchSet: 5
      Gerrit-Owner: Eleanor Lee <elean...@google.com>
      Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
      Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
      Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
      Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
      Gerrit-Attention: Eleanor Lee <elean...@google.com>
      Gerrit-Comment-Date: Fri, 26 Dec 2025 22:30:21 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Eleanor Lee (Gerrit)

      unread,
      5:36 PM (6 hours ago) 5:36 PM
      to Wenyu Fu, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org

      Eleanor Lee added 1 comment

      File chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
      Line 390, Patchset 5: // Android has found the grabbing/grab cursor.
      Wenyu Fu . resolved

      nit: Remove this comment line - it's not necessary a grab cursor, it could be other views that has the cursor icon set ;)

      Eleanor Lee

      Done

      Open in Gerrit

      Related details

      Attention set is empty
      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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
        Gerrit-Change-Number: 7293011
        Gerrit-PatchSet: 6
        Gerrit-Owner: Eleanor Lee <elean...@google.com>
        Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
        Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
        Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
        Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
        Gerrit-Comment-Date: Fri, 26 Dec 2025 22:35:49 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Wenyu Fu <wen...@chromium.org>
        satisfied_requirement
        open
        diffy

        Eleanor Lee (Gerrit)

        unread,
        5:36 PM (6 hours ago) 5:36 PM
        to Wenyu Fu, Brandon Wylie, Mark Schillaci, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org

        Eleanor Lee voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention set is empty
        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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
        Gerrit-Change-Number: 7293011
        Gerrit-PatchSet: 6
        Gerrit-Owner: Eleanor Lee <elean...@google.com>
        Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
        Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
        Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
        Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
        Gerrit-Comment-Date: Fri, 26 Dec 2025 22:35:55 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        6:57 PM (4 hours ago) 6:57 PM
        to Eleanor Lee, Wenyu Fu, Brandon Wylie, Mark Schillaci, chromium...@chromium.org, browser-comp...@chromium.org

        Chromium LUCI CQ submitted the change with unreviewed changes

        Unreviewed changes

        5 is the latest approved patch-set.
        The change was submitted with unreviewed changes in the following files:

        ```
        The name of the file: chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
        Insertions: 0, Deletions: 2.

        @@ -386,8 +386,6 @@
        // Delegate to standard Android behavior (View Group). This internally loops through the
        // children of the CompositorViewHolder and calculates the correct offsets.
        PointerIcon icon = super.onResolvePointerIcon(event, pointerIndex);
        -
        - // Android has found the grabbing/grab cursor.
        if (icon != null) return icon;
        }

        ```

        Change information

        Commit message:
        [Drag and Drop] Add onTouchListener for drag handle

        The link for the design doc is in the bug in comment #2.

        This CL covers sections 6. and 8. under "Proposed Design Changes".

        After: https://screencast.googleplex.com/cast/NDc2NDcwMjEyMTkxODQ2NHwzNTFhZWRiOS1iNw

        Notice that the mouse behavior is currently imperfect since we have not implemented hover listeners for the row body and the grab handle (will be chained to this CL).
        Bug: 454420485
        Change-Id: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
        Commit-Queue: Eleanor Lee <elean...@google.com>
        Reviewed-by: Brandon Wylie <wyl...@google.com>
        Reviewed-by: Mark Schillaci <mschi...@google.com>
        Reviewed-by: Wenyu Fu <wen...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1562807}
        Files:
        • M chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
        • M chrome/browser/bookmarks/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManagerCoordinator.java
        • M chrome/browser/bookmarks/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManagerDragHelper.java
        • M chrome/browser/bookmarks/android/java/src/org/chromium/chrome/browser/bookmarks/ImprovedBookmarkRow.java
        • M chrome/browser/bookmarks/android/java/src/org/chromium/chrome/browser/bookmarks/ImprovedBookmarkRowProperties.java
        • M components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/dragreorder/DragReorderableRecyclerViewAdapter.java
        Change size: M
        Delta: 6 files changed, 200 insertions(+), 10 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Brandon Wylie, +1 by Wenyu Fu, +1 by Mark Schillaci
        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: I92d58f0889cbe7020dc3610bc97bd39d0c0a3df0
        Gerrit-Change-Number: 7293011
        Gerrit-PatchSet: 7
        Gerrit-Owner: Eleanor Lee <elean...@google.com>
        Gerrit-Reviewer: Brandon Wylie <wyl...@google.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Eleanor Lee <elean...@google.com>
        Gerrit-Reviewer: Mark Schillaci <mschi...@google.com>
        Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages