[contexutal tasks] Various fixes for zero state [chromium/src : main]

0 views
Skip to first unread message

Duncan Mercer (Gerrit)

unread,
Dec 23, 2025, 2:42:17 PM (3 days ago) Dec 23
to James Leung, Josiah Kiehl, AyeAye, Juan Mojica, chromium...@chromium.org, Sophie Chang, penghuan...@chromium.org, cblume...@chromium.org, devtools...@chromium.org
Attention needed from James Leung, Josiah Kiehl and Juan Mojica

Duncan Mercer added 2 comments

File chrome/browser/contextual_tasks/contextual_tasks_ui.cc
Line 723, Patchset 8 (Latest): if (!ui_service_->IsAiUrl(url)) {
return;
}
Duncan Mercer . unresolved

remove

File chrome/browser/resources/contextual_tasks/zero_state_overlay.ts
Line 44, Patchset 8 (Latest): this.$.opaqueOverlay.classList.remove('fade-animation');
/* Requesting offsetWidth forces css re-render (synchronous reflow)
* since browser wants to be accurate awhen giving current measurement
* of offsetWidth. Otherwise, browser is lazy and considers adding
* then removing class as not a renderable css change.
*/
void this.$.opaqueOverlay.offsetWidth;
this.$.opaqueOverlay.classList.add('fade-animation');
Open in Gerrit

Related details

Attention is currently required from:
  • James Leung
  • Josiah Kiehl
  • Juan Mojica
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: Ice851550cb18206950ba3c87323b68370aafeac3
Gerrit-Change-Number: 7287137
Gerrit-PatchSet: 8
Gerrit-Owner: James Leung <james...@google.com>
Gerrit-Reviewer: Duncan Mercer <mer...@google.com>
Gerrit-Reviewer: Josiah Kiehl <ki...@google.com>
Gerrit-Reviewer: Juan Mojica <juanm...@google.com>
Gerrit-CC: Sophie Chang <sophi...@chromium.org>
Gerrit-Attention: Juan Mojica <juanm...@google.com>
Gerrit-Attention: James Leung <james...@google.com>
Gerrit-Attention: Josiah Kiehl <ki...@google.com>
Gerrit-Comment-Date: Tue, 23 Dec 2025 19:42:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages