[iOS] Add room above keyboard for location indicator in Find in Page [chromium/src : main]

0 views
Skip to first unread message

Quentin Pubert (Gerrit)

unread,
Jan 21, 2026, 11:41:37 AM (23 hours ago) Jan 21
to Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Gauthier Ambard

Quentin Pubert voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Gauthier Ambard
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: Id0333985ac843018a583903729f3a500b023b0eb
Gerrit-Change-Number: 7497872
Gerrit-PatchSet: 3
Gerrit-Owner: Quentin Pubert <qpu...@google.com>
Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
Gerrit-Reviewer: Quentin Pubert <qpu...@google.com>
Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
Gerrit-Comment-Date: Wed, 21 Jan 2026 16:41:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Gauthier Ambard (Gerrit)

unread,
3:31 AM (7 hours ago) 3:31 AM
to Quentin Pubert, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Quentin Pubert

Gauthier Ambard voted and added 2 comments

Votes added by Gauthier Ambard

Code-Review+1

2 comments

File ios/chrome/browser/toolbar/legacy/ui_bundled/secondary_toolbar_view_controller.mm
Line 227, Patchset 3 (Latest): if ([self useAccessoryViewPosition]) {
Gauthier Ambard . unresolved

What about this case?

Line 235, Patchset 3 (Latest): if (findNavigatorVisible && shouldConstraintToKeyboard) {
Gauthier Ambard . unresolved

You are already in `if (shouldConstraintToKeyboard) `

Open in Gerrit

Related details

Attention is currently required from:
  • Quentin Pubert
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: Id0333985ac843018a583903729f3a500b023b0eb
Gerrit-Change-Number: 7497872
Gerrit-PatchSet: 3
Gerrit-Owner: Quentin Pubert <qpu...@google.com>
Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
Gerrit-Reviewer: Quentin Pubert <qpu...@google.com>
Gerrit-Attention: Quentin Pubert <qpu...@google.com>
Gerrit-Comment-Date: Thu, 22 Jan 2026 08:30:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Quentin Pubert (Gerrit)

unread,
4:13 AM (6 hours ago) 4:13 AM
to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

Quentin Pubert voted and added 2 comments

Votes added by Quentin Pubert

Auto-Submit+1
Commit-Queue+1

2 comments

File ios/chrome/browser/toolbar/legacy/ui_bundled/secondary_toolbar_view_controller.mm
Line 227, Patchset 3: if ([self useAccessoryViewPosition]) {
Gauthier Ambard . resolved

What about this case?

Quentin Pubert

AFAIK the accessory view and Find navigator cannot appear at the same time.

Line 235, Patchset 3: if (findNavigatorVisible && shouldConstraintToKeyboard) {
Gauthier Ambard . resolved

You are already in `if (shouldConstraintToKeyboard) `

Quentin Pubert

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: Id0333985ac843018a583903729f3a500b023b0eb
    Gerrit-Change-Number: 7497872
    Gerrit-PatchSet: 4
    Gerrit-Owner: Quentin Pubert <qpu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Quentin Pubert <qpu...@google.com>
    Gerrit-Comment-Date: Thu, 22 Jan 2026 09:13:40 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Gauthier Ambard <gam...@chromium.org>
    satisfied_requirement
    open
    diffy

    Quentin Pubert (Gerrit)

    unread,
    4:13 AM (6 hours ago) 4:13 AM
    to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

    Quentin Pubert 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: Id0333985ac843018a583903729f3a500b023b0eb
    Gerrit-Change-Number: 7497872
    Gerrit-PatchSet: 4
    Gerrit-Owner: Quentin Pubert <qpu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Quentin Pubert <qpu...@google.com>
    Gerrit-Comment-Date: Thu, 22 Jan 2026 09:13:45 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    5:20 AM (5 hours ago) 5:20 AM
    to Quentin Pubert, Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

    Chromium LUCI CQ submitted the change with unreviewed changes

    Unreviewed changes

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

    ```
    The name of the file: ios/chrome/browser/toolbar/legacy/ui_bundled/secondary_toolbar_view_controller.mm
    Insertions: 1, Deletions: 1.

    The diff is too large to show. Please review the diff.
    ```

    Change information

    Commit message:
    [iOS] Add room above keyboard for location indicator in Find in Page

    This CL updates the secondary toolbar's

    - (void)constraintToKeyboard:(BOOL)shouldConstraintToKeyboard
    withNotification:(NSNotification*)notification

    method so it shifts the secondary toolbar location indicator slightly
    higher when Find in Page is active in the tab, so the location indicator
    is not hidden behind the Find navigator.
    Bug: 475843085
    Change-Id: Id0333985ac843018a583903729f3a500b023b0eb
    Reviewed-by: Gauthier Ambard <gam...@chromium.org>
    Auto-Submit: Quentin Pubert <qpu...@google.com>
    Commit-Queue: Quentin Pubert <qpu...@google.com>
    Cr-Commit-Position: refs/heads/main@{#1572831}
    Files:
    • M ios/chrome/browser/find_in_page/model/BUILD.gn
    • M ios/chrome/browser/find_in_page/model/DEPS
    • A ios/chrome/browser/find_in_page/model/find_in_page_util.h
    • A ios/chrome/browser/find_in_page/model/find_in_page_util.mm
    • M ios/chrome/browser/find_in_page/model/find_tab_helper.h
    • M ios/chrome/browser/reader_mode/model/BUILD.gn
    • M ios/chrome/browser/reader_mode/model/DEPS
    • M ios/chrome/browser/toolbar/legacy/ui_bundled/BUILD.gn
    • M ios/chrome/browser/toolbar/legacy/ui_bundled/DEPS
    • M ios/chrome/browser/toolbar/legacy/ui_bundled/secondary_toolbar_mediator.mm
    • M ios/chrome/browser/toolbar/legacy/ui_bundled/secondary_toolbar_view_controller.mm
    Change size: M
    Delta: 11 files changed, 55 insertions(+), 7 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Gauthier Ambard
    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: Id0333985ac843018a583903729f3a500b023b0eb
    Gerrit-Change-Number: 7497872
    Gerrit-PatchSet: 5
    Gerrit-Owner: Quentin Pubert <qpu...@google.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Quentin Pubert <qpu...@google.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages