[voice_search] Ensure PEPC does not flicker with smaller width windows [chromium/src : main]

0 views
Skip to first unread message

Antonio Sartori (Gerrit)

unread,
1:49 AM (16 hours ago) 1:49 AM
to James Leung, Thomas Nguyen, Ananya Seelam, Josiah Kiehl, Elias Klim, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Elias Klim, James Leung and Thomas Nguyen

Antonio Sartori added 1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Antonio Sartori . unresolved

Looks reasonable to me, but +Thomas for PEPC.

Also, is it possible to test anything here?

Open in Gerrit

Related details

Attention is currently required from:
  • Elias Klim
  • James Leung
  • Thomas Nguyen
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: I3dbc4b067bf87d7b64c0c57db61b3ec20795f6e8
Gerrit-Change-Number: 8125677
Gerrit-PatchSet: 7
Gerrit-Owner: James Leung <james...@google.com>
Gerrit-Reviewer: Elias Klim <el...@chromium.org>
Gerrit-Reviewer: James Leung <james...@google.com>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-CC: Ananya Seelam <ananya...@google.com>
Gerrit-CC: Antonio Sartori <antonio...@chromium.org>
Gerrit-CC: Josiah Kiehl <ki...@google.com>
Gerrit-Attention: Elias Klim <el...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: James Leung <james...@google.com>
Gerrit-Comment-Date: Tue, 21 Jul 2026 05:49:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Thomas Nguyen (Gerrit)

unread,
7:06 AM (11 hours ago) 7:06 AM
to James Leung, Antonio Sartori, Ananya Seelam, Josiah Kiehl, Elias Klim, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Elias Klim and James Leung

Thomas Nguyen added 1 comment

File chrome/browser/ui/views/permissions/embedded_permission_prompt_base_view.cc
Line 511, Patchset 7 (Latest): return prompt_bounds;
Thomas Nguyen . unresolved

QQ: Do you have any experience running the kNearElement experiment?

I recall that we stopped the kNearElement experiment some time ago and that kWindowMiddle should be the sole option here.

Open in Gerrit

Related details

Attention is currently required from:
  • Elias Klim
  • James Leung
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: I3dbc4b067bf87d7b64c0c57db61b3ec20795f6e8
Gerrit-Change-Number: 8125677
Gerrit-PatchSet: 7
Gerrit-Owner: James Leung <james...@google.com>
Gerrit-Reviewer: Elias Klim <el...@chromium.org>
Gerrit-Reviewer: James Leung <james...@google.com>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-CC: Ananya Seelam <ananya...@google.com>
Gerrit-CC: Antonio Sartori <antonio...@chromium.org>
Gerrit-CC: Josiah Kiehl <ki...@google.com>
Gerrit-Attention: Elias Klim <el...@chromium.org>
Gerrit-Attention: James Leung <james...@google.com>
Gerrit-Comment-Date: Tue, 21 Jul 2026 11:06:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

James Leung (Gerrit)

unread,
2:27 PM (3 hours ago) 2:27 PM
to Antonio Sartori, Thomas Nguyen, Ananya Seelam, Josiah Kiehl, Elias Klim, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Antonio Sartori, Elias Klim and Thomas Nguyen

James Leung added 2 comments

Patchset-level comments
Antonio Sartori . unresolved

Looks reasonable to me, but +Thomas for PEPC.

Also, is it possible to test anything here?

James Leung

what do you mean by test? are you asking if the ui tests are needed?

File chrome/browser/ui/views/permissions/embedded_permission_prompt_base_view.cc
Line 511, Patchset 7 (Latest): return prompt_bounds;
Thomas Nguyen . unresolved

QQ: Do you have any experience running the kNearElement experiment?

I recall that we stopped the kNearElement experiment some time ago and that kWindowMiddle should be the sole option here.

James Leung

nope, i do not; is this something that should not be done? what were the results of the experiment?

Open in Gerrit

Related details

Attention is currently required from:
  • Antonio Sartori
  • Elias Klim
  • Thomas Nguyen
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: I3dbc4b067bf87d7b64c0c57db61b3ec20795f6e8
Gerrit-Change-Number: 8125677
Gerrit-PatchSet: 7
Gerrit-Owner: James Leung <james...@google.com>
Gerrit-Reviewer: Elias Klim <el...@chromium.org>
Gerrit-Reviewer: James Leung <james...@google.com>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-CC: Ananya Seelam <ananya...@google.com>
Gerrit-CC: Antonio Sartori <antonio...@chromium.org>
Gerrit-CC: Josiah Kiehl <ki...@google.com>
Gerrit-Attention: Elias Klim <el...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Antonio Sartori <antonio...@chromium.org>
Gerrit-Comment-Date: Tue, 21 Jul 2026 18:27:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>
Comment-In-Reply-To: Antonio Sartori <antonio...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

James Leung (Gerrit)

unread,
2:53 PM (3 hours ago) 2:53 PM
to Antonio Sartori, Thomas Nguyen, Ananya Seelam, Josiah Kiehl, Elias Klim, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Antonio Sartori, Elias Klim and Thomas Nguyen

James Leung added 1 comment

File chrome/browser/ui/views/permissions/embedded_permission_prompt_base_view.cc
Line 511, Patchset 7 (Latest): return prompt_bounds;
Thomas Nguyen . unresolved

QQ: Do you have any experience running the kNearElement experiment?

I recall that we stopped the kNearElement experiment some time ago and that kWindowMiddle should be the sole option here.

James Leung

nope, i do not; is this something that should not be done? what were the results of the experiment?

James Leung

tun...@chromium.org are there any thoughts you have on why there might be stutter / re entrancy on smaller windows for PEPC over non-web contents like the omnibox?

if kNearElement is indeed deprecated, should I also delete its code in a CL?

@antonio...@chromium.org any thoughts as well?

Gerrit-Comment-Date: Tue, 21 Jul 2026 18:53:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>
Comment-In-Reply-To: James Leung <james...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Thomas Nguyen (Gerrit)

unread,
3:43 PM (2 hours ago) 3:43 PM
to James Leung, Antonio Sartori, Ananya Seelam, Josiah Kiehl, Elias Klim, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Antonio Sartori, Elias Klim and James Leung

Thomas Nguyen added 1 comment

File chrome/browser/ui/views/permissions/embedded_permission_prompt_base_view.cc
Line 511, Patchset 7 (Latest): return prompt_bounds;
Thomas Nguyen . unresolved

QQ: Do you have any experience running the kNearElement experiment?

I recall that we stopped the kNearElement experiment some time ago and that kWindowMiddle should be the sole option here.

James Leung

nope, i do not; is this something that should not be done? what were the results of the experiment?

James Leung

tun...@chromium.org are there any thoughts you have on why there might be stutter / re entrancy on smaller windows for PEPC over non-web contents like the omnibox?

if kNearElement is indeed deprecated, should I also delete its code in a CL?

@antonio...@chromium.org any thoughts as well?

Thomas Nguyen

I saw another CL to completely disable the kNearElement trial from Antonio. While I think it might be useful to keep that option in case we want to resume it later, I am also open to removing it. I don't have a strong preference, so whichever approach you prefer works for me.

What I meant is, likely the stutter is not caused by this line and changing here is no-op

Open in Gerrit

Related details

Attention is currently required from:
  • Antonio Sartori
  • Elias Klim
  • James Leung
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: I3dbc4b067bf87d7b64c0c57db61b3ec20795f6e8
Gerrit-Change-Number: 8125677
Gerrit-PatchSet: 7
Gerrit-Owner: James Leung <james...@google.com>
Gerrit-Reviewer: Elias Klim <el...@chromium.org>
Gerrit-Reviewer: James Leung <james...@google.com>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-CC: Ananya Seelam <ananya...@google.com>
Gerrit-CC: Antonio Sartori <antonio...@chromium.org>
Gerrit-CC: Josiah Kiehl <ki...@google.com>
Gerrit-Attention: Elias Klim <el...@chromium.org>
Gerrit-Attention: James Leung <james...@google.com>
Gerrit-Attention: Antonio Sartori <antonio...@chromium.org>
Gerrit-Comment-Date: Tue, 21 Jul 2026 19:43:24 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages