Add arg names & comments for SetCurrentLayoutByName() callbacks. [chromium/src : main]

0 views
Skip to first unread message

Michael Cui (Gerrit)

unread,
Dec 17, 2025, 3:03:32 AM (5 days ago) Dec 17
to Bao-Duy Tran, Michael Cui, Colin Blundell, Darren Shen, Chromium LUCI CQ, chromium...@chromium.org, James Su, keithle...@chromium.org, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
Attention needed from Bao-Duy Tran, Colin Blundell and Darren Shen

Michael Cui voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Bao-Duy Tran
  • Colin Blundell
  • Darren Shen
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: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
Gerrit-Change-Number: 7267369
Gerrit-PatchSet: 4
Gerrit-Owner: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Reviewer: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: gwsq
Gerrit-Attention: Colin Blundell <blun...@chromium.org>
Gerrit-Attention: Darren Shen <sh...@chromium.org>
Gerrit-Attention: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Dec 2025 08:02:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Colin Blundell (Gerrit)

unread,
Dec 17, 2025, 3:14:50 AM (5 days ago) Dec 17
to Bao-Duy Tran, Colin Blundell, Michael Cui, Darren Shen, Chromium LUCI CQ, chromium...@chromium.org, James Su, keithle...@chromium.org, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
Attention needed from Bao-Duy Tran and Darren Shen

Colin Blundell voted and added 2 comments

Votes added by Colin Blundell

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Colin Blundell . resolved

Thanks!

File ui/ozone/public/input_controller.h
Line 87, Patchset 4 (Latest): // Callback is invoked when the keyboard layout is available and initialized.
Colin Blundell . unresolved

nit: Add to the comment to specify what `success` means.

Open in Gerrit

Related details

Attention is currently required from:
  • Bao-Duy Tran
  • Darren Shen
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: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
Gerrit-Change-Number: 7267369
Gerrit-PatchSet: 4
Gerrit-Owner: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Reviewer: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: gwsq
Gerrit-Attention: Darren Shen <sh...@chromium.org>
Gerrit-Attention: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Dec 2025 08:14:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Bao-Duy Tran (Gerrit)

unread,
Dec 17, 2025, 4:16:20 AM (5 days ago) Dec 17
to Colin Blundell, Michael Cui, Darren Shen, Chromium LUCI CQ, chromium...@chromium.org, James Su, keithle...@chromium.org, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
Attention needed from Colin Blundell and Darren Shen

Bao-Duy Tran added 1 comment

File ui/ozone/public/input_controller.h
Line 87, Patchset 4: // Callback is invoked when the keyboard layout is available and initialized.
Colin Blundell . unresolved

nit: Add to the comment to specify what `success` means.

Bao-Duy Tran

Done. Could you PTAL to ensure no inaccurate info? Thanks. @blun...@chromium.org

Open in Gerrit

Related details

Attention is currently required from:
  • Colin Blundell
  • Darren Shen
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: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
Gerrit-Change-Number: 7267369
Gerrit-PatchSet: 6
Gerrit-Owner: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Reviewer: Bao-Duy Tran <tranb...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
Gerrit-Reviewer: Michael Cui <ml...@google.com>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: gwsq
Gerrit-Attention: Colin Blundell <blun...@chromium.org>
Gerrit-Attention: Darren Shen <sh...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Dec 2025 09:15:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Colin Blundell (Gerrit)

unread,
Dec 17, 2025, 4:21:02 AM (5 days ago) Dec 17
to Bao-Duy Tran, Colin Blundell, Michael Cui, Darren Shen, Chromium LUCI CQ, chromium...@chromium.org, James Su, keithle...@chromium.org, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
Attention needed from Bao-Duy Tran and Darren Shen

Colin Blundell voted and added 2 comments

Votes added by Colin Blundell

Code-Review+1

2 comments

Patchset-level comments
Colin Blundell . resolved

Thanks!

File ui/ozone/public/input_controller.h
Line 87, Patchset 4: // Callback is invoked when the keyboard layout is available and initialized.
Colin Blundell . resolved

nit: Add to the comment to specify what `success` means.

Bao-Duy Tran

Done. Could you PTAL to ensure no inaccurate info? Thanks. @blun...@chromium.org

Attention is currently required from:
  • Bao-Duy Tran
  • Darren Shen
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: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
    Gerrit-Change-Number: 7267369
    Gerrit-PatchSet: 6
    Gerrit-Owner: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Reviewer: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Darren Shen <sh...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Attention: Darren Shen <sh...@chromium.org>
    Gerrit-Attention: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Comment-Date: Wed, 17 Dec 2025 09:20:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
    Comment-In-Reply-To: Bao-Duy Tran <tranb...@chromium.org>
    satisfied_requirement
    open
    diffy

    Bao-Duy Tran (Gerrit)

    unread,
    Dec 21, 2025, 9:56:26 PM (7 hours ago) Dec 21
    to Darren Shen, Colin Blundell, Michael Cui, Chromium LUCI CQ, chromium...@chromium.org, James Su, keithle...@chromium.org, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org

    Bao-Duy Tran 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: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
    Gerrit-Change-Number: 7267369
    Gerrit-PatchSet: 7
    Gerrit-Owner: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Reviewer: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    Gerrit-CC: Darren Shen <sh...@chromium.org>
    Gerrit-CC: James Su <su...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Comment-Date: Mon, 22 Dec 2025 02:55:52 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    12:00 AM (5 hours ago) 12:00 AM
    to Bao-Duy Tran, Darren Shen, Colin Blundell, Michael Cui, chromium...@chromium.org, James Su, keithle...@chromium.org, nona+...@chromium.org, ozone-...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org

    Chromium LUCI CQ submitted the change

    Unreviewed changes

    6 is the latest approved patch-set.
    No files were changed between the latest approved patch-set and the submitted one.

    Change information

    Commit message:
    Add arg names & comments for SetCurrentLayoutByName() callbacks.

    ... so their "success" meanings can be explicitly expressed,
    especially as this propagates through so many layers. This will
    soon help reveal some instances whereby non-sensical values are
    being fed as "success" arg to some of these callbacks.

    CQ_INCLUDE_TRYBOTS=luci.chrome.try:chromeos-betty-chrome
    Bug: b:469242705
    Change-Id: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
    Reviewed-by: Colin Blundell <blun...@chromium.org>
    Commit-Queue: Bao-Duy Tran <tranb...@chromium.org>
    Reviewed-by: Michael Cui <ml...@google.com>
    Cr-Commit-Position: refs/heads/main@{#1561689}
    Files:
    • M ui/base/ime/ash/fake_ime_keyboard.cc
    • M ui/base/ime/ash/ime_keyboard.h
    • M ui/base/ime/ash/ime_keyboard_impl.cc
    • M ui/events/ozone/evdev/input_controller_evdev.cc
    • M ui/events/ozone/evdev/input_controller_evdev.h
    • M ui/events/ozone/evdev/keyboard_evdev.cc
    • M ui/events/ozone/evdev/keyboard_evdev.h
    • M ui/events/ozone/layout/keyboard_layout_engine.h
    • M ui/events/ozone/layout/no/no_keyboard_layout_engine.cc
    • M ui/events/ozone/layout/no/no_keyboard_layout_engine.h
    • M ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc
    • M ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h
    • M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
    • M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h
    • M ui/ozone/public/input_controller.h
    • M ui/ozone/public/stub_input_controller.cc
    • M ui/ozone/public/stub_input_controller.h
    Change size: M
    Delta: 17 files changed, 42 insertions(+), 34 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Colin Blundell, +1 by Michael Cui
    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: I8ab5ed15ec88fb7740fcfa383bb0cc1b63bc9a7e
    Gerrit-Change-Number: 7267369
    Gerrit-PatchSet: 8
    Gerrit-Owner: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Reviewer: Bao-Duy Tran <tranb...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Michael Cui <ml...@google.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages