[AIM] Preserve AutocompleteState through tab switch. [chromium/src : main]

0 views
Skip to first unread message

Sky Malice (Gerrit)

unread,
12:51 PM (9 hours ago) 12:51 PM
to Patrick Noland, Chromium LUCI CQ, chromium...@chromium.org, ender...@chromium.org
Attention needed from Patrick Noland

Sky Malice voted and added 1 comment

Votes added by Sky Malice

Commit-Queue+1

1 comment

Patchset-level comments
Open in Gerrit

Related details

Attention is currently required from:
  • Patrick Noland
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: I67e8e473271faab56d8cd7fe88d5324922648bf5
Gerrit-Change-Number: 8065607
Gerrit-PatchSet: 2
Gerrit-Owner: Sky Malice <sk...@chromium.org>
Gerrit-Reviewer: Patrick Noland <pno...@chromium.org>
Gerrit-Reviewer: Sky Malice <sk...@chromium.org>
Gerrit-Attention: Patrick Noland <pno...@chromium.org>
Gerrit-Comment-Date: Wed, 08 Jul 2026 16:51:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Patrick Noland (Gerrit)

unread,
6:26 PM (3 hours ago) 6:26 PM
to Sky Malice, Chromium LUCI CQ, chromium...@chromium.org, ender...@chromium.org
Attention needed from Sky Malice

Patrick Noland voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Sky Malice
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: I67e8e473271faab56d8cd7fe88d5324922648bf5
    Gerrit-Change-Number: 8065607
    Gerrit-PatchSet: 2
    Gerrit-Owner: Sky Malice <sk...@chromium.org>
    Gerrit-Reviewer: Patrick Noland <pno...@chromium.org>
    Gerrit-Reviewer: Sky Malice <sk...@chromium.org>
    Gerrit-Attention: Sky Malice <sk...@chromium.org>
    Gerrit-Comment-Date: Wed, 08 Jul 2026 22:25:54 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    6:38 PM (3 hours ago) 6:38 PM
    to Sky Malice, Patrick Noland, chromium...@chromium.org, ender...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [AIM] Preserve AutocompleteState through tab switch.

    AutocompleteState is set to ENABLED in the constructor and reset of
    AutocompleteInput. This is convenient for creating new objects to pass
    to beginInput(), but is the opposite of what we want to do when
    deactivated (unfocus). Now that this is manually overriding the state,
    we can trust the state when switching back to a tab. Some location bar
    mediator logic needed to be updated to account for not getting ENABLED
    states automatically now.

    The functional difference is when you tab tab to an existing NTP, it's
    correctly tracking the difference between STANDBY and DISABLED.
    Bug: 522911537, 529854485, 526655008
    Change-Id: I67e8e473271faab56d8cd7fe88d5324922648bf5
    Reviewed-by: Patrick Noland <pno...@chromium.org>
    Commit-Queue: Sky Malice <sk...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1659102}
    Files:
    • M chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/FuseboxSessionState.java
    • M chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/FuseboxSessionStateUnitTest.java
    • M chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java
    • M chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediatorTest.java
    Change size: M
    Delta: 4 files changed, 67 insertions(+), 0 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Patrick Noland
    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: I67e8e473271faab56d8cd7fe88d5324922648bf5
    Gerrit-Change-Number: 8065607
    Gerrit-PatchSet: 3
    Gerrit-Owner: Sky Malice <sk...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Patrick Noland <pno...@chromium.org>
    Gerrit-Reviewer: Sky Malice <sk...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages