[iOS] Fix Gemini Floaty Visibility on Keyboard Appearance [chromium/src : main]

0 views
Skip to first unread message

Tarek Makkouk (Gerrit)

unread,
Jan 14, 2026, 6:57:25 PM (7 days ago) Jan 14
to Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Adam Arcaro and Joemer Ramos

Tarek Makkouk voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Adam Arcaro
  • Joemer Ramos
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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
Gerrit-Change-Number: 7471805
Gerrit-PatchSet: 2
Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
Gerrit-Attention: Joemer Ramos <joeme...@google.com>
Gerrit-Attention: Adam Arcaro <ada...@google.com>
Gerrit-Comment-Date: Wed, 14 Jan 2026 23:57:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Joemer Ramos (Gerrit)

unread,
Jan 15, 2026, 12:11:31 PM (6 days ago) Jan 15
to Tarek Makkouk, Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Adam Arcaro and Tarek Makkouk

Joemer Ramos added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Joemer Ramos . unresolved

Can we loop into [KeyboardProvider](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657;bpv=1;bpt=1) instead? It takes a browser so we can definitely initialize it in our browser agent. We would just need to add a browser agent call [here](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657-664;bpv=1;bpt=1) for show/hide keyboard

Open in Gerrit

Related details

Attention is currently required from:
  • Adam Arcaro
  • Tarek Makkouk
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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
    Gerrit-Change-Number: 7471805
    Gerrit-PatchSet: 2
    Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Attention: Adam Arcaro <ada...@google.com>
    Gerrit-Comment-Date: Thu, 15 Jan 2026 17:11:23 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Tarek Makkouk (Gerrit)

    unread,
    Jan 15, 2026, 1:07:41 PM (6 days ago) Jan 15
    to Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Adam Arcaro and Joemer Ramos

    Tarek Makkouk added 1 comment

    Patchset-level comments
    Joemer Ramos . unresolved

    Can we loop into [KeyboardProvider](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657;bpv=1;bpt=1) instead? It takes a browser so we can definitely initialize it in our browser agent. We would just need to add a browser agent call [here](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657-664;bpv=1;bpt=1) for show/hide keyboard

    Tarek Makkouk

    The KeyboardProvider uses ```UIKeyboardDidShowNotification``` and ```UIKeyboardDidHideNotification``` while we use ```UIKeyboardWillShowNotification``` and ```UIKeyboardWillHideNotification```.

    This causes fullscreen progress updates to happen before KeyboardProvider receives the DidShow notification, which will cause the floaty to disappear for a sec before reappearing (https://drive.google.com/file/d/16jff6iyBXqOaQc8vMEjGrIJqquqegKXj/view?usp=sharing).

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Arcaro
    • Joemer Ramos
    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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
    Gerrit-Change-Number: 7471805
    Gerrit-PatchSet: 2
    Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Attention: Joemer Ramos <joeme...@google.com>
    Gerrit-Attention: Adam Arcaro <ada...@google.com>
    Gerrit-Comment-Date: Thu, 15 Jan 2026 18:07:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joemer Ramos (Gerrit)

    unread,
    Jan 15, 2026, 1:11:53 PM (6 days ago) Jan 15
    to Tarek Makkouk, Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Adam Arcaro and Tarek Makkouk

    Joemer Ramos added 1 comment

    Patchset-level comments
    Joemer Ramos . unresolved

    Can we loop into [KeyboardProvider](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657;bpv=1;bpt=1) instead? It takes a browser so we can definitely initialize it in our browser agent. We would just need to add a browser agent call [here](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657-664;bpv=1;bpt=1) for show/hide keyboard

    Tarek Makkouk

    The KeyboardProvider uses ```UIKeyboardDidShowNotification``` and ```UIKeyboardDidHideNotification``` while we use ```UIKeyboardWillShowNotification``` and ```UIKeyboardWillHideNotification```.

    This causes fullscreen progress updates to happen before KeyboardProvider receives the DidShow notification, which will cause the floaty to disappear for a sec before reappearing (https://drive.google.com/file/d/16jff6iyBXqOaQc8vMEjGrIJqquqegKXj/view?usp=sharing).

    Joemer Ramos

    Can we add UIKeyboardWillShowNotification listeners in `KeyboardProvider` https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=101-110 this is more to keep keyboard logic together so that if other features add keyboard listeners, they're aware that it's also changing the floaty behavior if anything.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Arcaro
    • Tarek Makkouk
    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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
    Gerrit-Change-Number: 7471805
    Gerrit-PatchSet: 2
    Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
    Gerrit-Attention: Adam Arcaro <ada...@google.com>
    Gerrit-Comment-Date: Thu, 15 Jan 2026 18:11:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
    Comment-In-Reply-To: Tarek Makkouk <tarekm...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Tarek Makkouk (Gerrit)

    unread,
    Jan 15, 2026, 1:31:46 PM (6 days ago) Jan 15
    to Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Adam Arcaro and Joemer Ramos

    Tarek Makkouk added 1 comment

    Patchset-level comments
    File-level comment, Patchset 2:
    Joemer Ramos . resolved

    Can we loop into [KeyboardProvider](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657;bpv=1;bpt=1) instead? It takes a browser so we can definitely initialize it in our browser agent. We would just need to add a browser agent call [here](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657-664;bpv=1;bpt=1) for show/hide keyboard

    Tarek Makkouk

    The KeyboardProvider uses ```UIKeyboardDidShowNotification``` and ```UIKeyboardDidHideNotification``` while we use ```UIKeyboardWillShowNotification``` and ```UIKeyboardWillHideNotification```.

    This causes fullscreen progress updates to happen before KeyboardProvider receives the DidShow notification, which will cause the floaty to disappear for a sec before reappearing (https://drive.google.com/file/d/16jff6iyBXqOaQc8vMEjGrIJqquqegKXj/view?usp=sharing).

    Joemer Ramos

    Can we add UIKeyboardWillShowNotification listeners in `KeyboardProvider` https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=101-110 this is more to keep keyboard logic together so that if other features add keyboard listeners, they're aware that it's also changing the floaty behavior if anything.

    Tarek Makkouk

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Arcaro
    • Joemer Ramos
    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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
      Gerrit-Change-Number: 7471805
      Gerrit-PatchSet: 3
      Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
      Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
      Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
      Gerrit-Attention: Joemer Ramos <joeme...@google.com>
      Gerrit-Attention: Adam Arcaro <ada...@google.com>
      Gerrit-Comment-Date: Thu, 15 Jan 2026 18:31:41 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Joemer Ramos (Gerrit)

      unread,
      Jan 15, 2026, 1:34:03 PM (6 days ago) Jan 15
      to Tarek Makkouk, Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Adam Arcaro and Tarek Makkouk

      Joemer Ramos added 2 comments

      Patchset-level comments
      File-level comment, Patchset 3 (Latest):
      Joemer Ramos . resolved

      Looks a lot better, thanks!

      File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
      Line 679, Patchset 3 (Latest): BwgBrowserAgent* bwgAgent = BwgBrowserAgent::FromBrowser(_browser.get());
      Joemer Ramos . unresolved

      Behind the `IsGeminiCopresenceEnabled()` flag, and we should also add a check somewhere to check if the floaty is invoked before updating the fullscreen progress value. There's a class var for that `is_floaty_invoked_`.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Arcaro
      • Tarek Makkouk
      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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
        Gerrit-Change-Number: 7471805
        Gerrit-PatchSet: 3
        Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
        Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
        Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
        Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
        Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
        Gerrit-Attention: Adam Arcaro <ada...@google.com>
        Gerrit-Comment-Date: Thu, 15 Jan 2026 18:33:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Tarek Makkouk (Gerrit)

        unread,
        Jan 15, 2026, 1:55:26 PM (6 days ago) Jan 15
        to Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
        Attention needed from Adam Arcaro and Joemer Ramos

        Tarek Makkouk added 1 comment

        File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
        Line 679, Patchset 3: BwgBrowserAgent* bwgAgent = BwgBrowserAgent::FromBrowser(_browser.get());
        Joemer Ramos . resolved

        Behind the `IsGeminiCopresenceEnabled()` flag, and we should also add a check somewhere to check if the floaty is invoked before updating the fullscreen progress value. There's a class var for that `is_floaty_invoked_`.

        Tarek Makkouk

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Adam Arcaro
        • Joemer Ramos
        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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
          Gerrit-Change-Number: 7471805
          Gerrit-PatchSet: 4
          Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
          Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
          Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
          Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
          Gerrit-Attention: Joemer Ramos <joeme...@google.com>
          Gerrit-Attention: Adam Arcaro <ada...@google.com>
          Gerrit-Comment-Date: Thu, 15 Jan 2026 18:55:17 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Joemer Ramos (Gerrit)

          unread,
          Jan 15, 2026, 3:10:48 PM (6 days ago) Jan 15
          to Tarek Makkouk, Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
          Attention needed from Adam Arcaro and Tarek Makkouk

          Joemer Ramos added 4 comments

          File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
          Line 678, Patchset 4 (Latest):- (void)keyboardWillShow {
          Joemer Ramos . unresolved

          Comment above since this is a private method.

          Line 682, Patchset 4 (Latest): bwgAgent->SetKeyboardVisible(true);
          Joemer Ramos . unresolved

          This is an obj-c file so this should be `YES` (and `NO` below)

          Line 687, Patchset 4 (Latest):- (void)keyboardWillHide {
          Joemer Ramos . unresolved

          Comment above since this is a private method.

          File ios/chrome/browser/intelligence/bwg/model/bwg_browser_agent.h
          Line 112, Patchset 4 (Latest): void SetKeyboardVisible(bool visible);
          Joemer Ramos . unresolved

          nit:`is_visible` or `is_keyboard_visible` for parity with our class var.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Adam Arcaro
          • Tarek Makkouk
          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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
            Gerrit-Change-Number: 7471805
            Gerrit-PatchSet: 4
            Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
            Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
            Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Attention: Adam Arcaro <ada...@google.com>
            Gerrit-Comment-Date: Thu, 15 Jan 2026 20:10:42 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Tarek Makkouk (Gerrit)

            unread,
            Jan 15, 2026, 3:56:22 PM (6 days ago) Jan 15
            to Adam Arcaro, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Adam Arcaro and Joemer Ramos

            Tarek Makkouk added 4 comments

            File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
            Line 678, Patchset 4:- (void)keyboardWillShow {
            Joemer Ramos . resolved

            Comment above since this is a private method.

            Tarek Makkouk

            Done

            Line 682, Patchset 4: bwgAgent->SetKeyboardVisible(true);
            Joemer Ramos . resolved

            This is an obj-c file so this should be `YES` (and `NO` below)

            Tarek Makkouk

            Done

            Line 687, Patchset 4:- (void)keyboardWillHide {
            Joemer Ramos . resolved

            Comment above since this is a private method.

            Tarek Makkouk

            Done

            File ios/chrome/browser/intelligence/bwg/model/bwg_browser_agent.h
            Line 112, Patchset 4: void SetKeyboardVisible(bool visible);
            Joemer Ramos . resolved

            nit:`is_visible` or `is_keyboard_visible` for parity with our class var.

            Tarek Makkouk

            Done

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Adam Arcaro
            • Joemer Ramos
            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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
              Gerrit-Change-Number: 7471805
              Gerrit-PatchSet: 5
              Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
              Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
              Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
              Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
              Gerrit-Attention: Joemer Ramos <joeme...@google.com>
              Gerrit-Attention: Adam Arcaro <ada...@google.com>
              Gerrit-Comment-Date: Thu, 15 Jan 2026 20:56:17 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Joemer Ramos (Gerrit)

              unread,
              Jan 15, 2026, 4:01:20 PM (6 days ago) Jan 15
              to Tarek Makkouk, Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
              Attention needed from Adam Arcaro and Tarek Makkouk

              Joemer Ramos voted and added 1 comment

              Votes added by Joemer Ramos

              Code-Review+1

              1 comment

              Patchset-level comments
              File-level comment, Patchset 5 (Latest):
              Joemer Ramos . resolved

              lgtm

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Adam Arcaro
              • Tarek Makkouk
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not satisfiedCode-Owners
                • requirement is not 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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
                Gerrit-Change-Number: 7471805
                Gerrit-PatchSet: 5
                Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
                Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
                Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
                Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                Gerrit-Attention: Adam Arcaro <ada...@google.com>
                Gerrit-Comment-Date: Thu, 15 Jan 2026 21:01:07 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Joemer Ramos (Gerrit)

                unread,
                Jan 15, 2026, 4:01:21 PM (6 days ago) Jan 15
                to Tarek Makkouk, Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                Attention needed from Adam Arcaro and Tarek Makkouk

                Joemer Ramos voted and added 1 comment

                Votes added by Joemer Ramos

                Code-Review+0

                1 comment

                Patchset-level comments
                Joemer Ramos . resolved

                Thanks Tarek! Looks great!

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Adam Arcaro
                • Tarek Makkouk
                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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
                  Gerrit-Change-Number: 7471805
                  Gerrit-PatchSet: 5
                  Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
                  Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                  Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
                  Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
                  Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                  Gerrit-Attention: Adam Arcaro <ada...@google.com>
                  Gerrit-Comment-Date: Thu, 15 Jan 2026 21:01:15 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Joemer Ramos (Gerrit)

                  unread,
                  Jan 15, 2026, 4:01:33 PM (6 days ago) Jan 15
                  to Tarek Makkouk, Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                  Attention needed from Adam Arcaro and Tarek Makkouk

                  Joemer Ramos voted Code-Review+1

                  Code-Review+1
                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Adam Arcaro
                  • Tarek Makkouk
                  Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement is not satisfiedCode-Owners
                    • requirement is not 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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
                    Gerrit-Change-Number: 7471805
                    Gerrit-PatchSet: 5
                    Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
                    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                    Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
                    Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
                    Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                    Gerrit-Attention: Adam Arcaro <ada...@google.com>
                    Gerrit-Comment-Date: Thu, 15 Jan 2026 21:01:23 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Adam Arcaro (Gerrit)

                    unread,
                    Jan 16, 2026, 3:17:21 PM (5 days ago) Jan 16
                    to Tarek Makkouk, Rohit Rao, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                    Attention needed from Rohit Rao and Tarek Makkouk

                    Adam Arcaro added 1 comment

                    File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
                    Line 679, Patchset 5 (Latest):- (void)keyboardWillShow {
                    Adam Arcaro . unresolved

                    I'm not sure how I feel about Gemini-specific logic in the key commands provider. It might be better for the BwgBrowserAgent to register its own observers for keyboard notifications

                    Maybe @rohi...@chromium.org could chime in here, since I do see some feature code in this file

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Rohit Rao
                    • Tarek Makkouk
                    Submit Requirements:
                      • requirement satisfiedCode-Coverage
                      • requirement is not satisfiedCode-Owners
                      • requirement is not 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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
                      Gerrit-Change-Number: 7471805
                      Gerrit-PatchSet: 5
                      Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                      Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
                      Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
                      Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Attention: Rohit Rao <rohi...@chromium.org>
                      Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Comment-Date: Fri, 16 Jan 2026 20:17:14 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Adam Arcaro (Gerrit)

                      unread,
                      Jan 16, 2026, 3:18:33 PM (5 days ago) Jan 16
                      to Tarek Makkouk, Rohit Rao, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                      Attention needed from Rohit Rao and Tarek Makkouk

                      Adam Arcaro added 1 comment

                      Patchset-level comments
                      File-level comment, Patchset 2:
                      Joemer Ramos . unresolved

                      Can we loop into [KeyboardProvider](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657;bpv=1;bpt=1) instead? It takes a browser so we can definitely initialize it in our browser agent. We would just need to add a browser agent call [here](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657-664;bpv=1;bpt=1) for show/hide keyboard

                      Tarek Makkouk

                      The KeyboardProvider uses ```UIKeyboardDidShowNotification``` and ```UIKeyboardDidHideNotification``` while we use ```UIKeyboardWillShowNotification``` and ```UIKeyboardWillHideNotification```.

                      This causes fullscreen progress updates to happen before KeyboardProvider receives the DidShow notification, which will cause the floaty to disappear for a sec before reappearing (https://drive.google.com/file/d/16jff6iyBXqOaQc8vMEjGrIJqquqegKXj/view?usp=sharing).

                      Joemer Ramos

                      Can we add UIKeyboardWillShowNotification listeners in `KeyboardProvider` https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=101-110 this is more to keep keyboard logic together so that if other features add keyboard listeners, they're aware that it's also changing the floaty behavior if anything.

                      Tarek Makkouk

                      Done

                      Adam Arcaro

                      Just saw this comment, I don't mean to cause too much back and forth but let's just make sure it's the right approach

                      Gerrit-Comment-Date: Fri, 16 Jan 2026 20:18:26 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Rohit Rao (Gerrit)

                      unread,
                      Jan 20, 2026, 7:30:45 PM (17 hours ago) Jan 20
                      to Tarek Makkouk, Rohit Rao, Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                      Attention needed from Tarek Makkouk

                      Rohit Rao added 1 comment

                      File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
                      Line 679, Patchset 5 (Latest):- (void)keyboardWillShow {
                      Adam Arcaro . unresolved

                      I'm not sure how I feel about Gemini-specific logic in the key commands provider. It might be better for the BwgBrowserAgent to register its own observers for keyboard notifications

                      Maybe @rohi...@chromium.org could chime in here, since I do see some feature code in this file

                      Rohit Rao

                      Seems better to register separate observers, unless BWG is specifically hooking into the existing code to add gemini-specific keyboard shortcuts. I don't see that here, it looks like this code could live anywhere?)

                      Open in Gerrit

                      Related details

                      Attention is currently required from:
                      • Tarek Makkouk
                      Submit Requirements:
                      • requirement satisfiedCode-Coverage
                      • requirement is not satisfiedCode-Owners
                      • requirement is not 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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
                      Gerrit-Change-Number: 7471805
                      Gerrit-PatchSet: 5
                      Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                      Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
                      Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
                      Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Comment-Date: Wed, 21 Jan 2026 00:30:38 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      Comment-In-Reply-To: Adam Arcaro <ada...@google.com>
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Adam Arcaro (Gerrit)

                      unread,
                      Jan 20, 2026, 7:41:45 PM (17 hours ago) Jan 20
                      to Tarek Makkouk, Rohit Rao, Joemer Ramos, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                      Attention needed from Tarek Makkouk

                      Adam Arcaro added 2 comments

                      Patchset-level comments
                      File-level comment, Patchset 2:
                      Joemer Ramos . resolved

                      Can we loop into [KeyboardProvider](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657;bpv=1;bpt=1) instead? It takes a browser so we can definitely initialize it in our browser agent. We would just need to add a browser agent call [here](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=657-664;bpv=1;bpt=1) for show/hide keyboard

                      Tarek Makkouk

                      The KeyboardProvider uses ```UIKeyboardDidShowNotification``` and ```UIKeyboardDidHideNotification``` while we use ```UIKeyboardWillShowNotification``` and ```UIKeyboardWillHideNotification```.

                      This causes fullscreen progress updates to happen before KeyboardProvider receives the DidShow notification, which will cause the floaty to disappear for a sec before reappearing (https://drive.google.com/file/d/16jff6iyBXqOaQc8vMEjGrIJqquqegKXj/view?usp=sharing).

                      Joemer Ramos

                      Can we add UIKeyboardWillShowNotification listeners in `KeyboardProvider` https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm;l=101-110 this is more to keep keyboard logic together so that if other features add keyboard listeners, they're aware that it's also changing the floaty behavior if anything.

                      Tarek Makkouk

                      Done

                      Adam Arcaro

                      Just saw this comment, I don't mean to cause too much back and forth but let's just make sure it's the right approach

                      Adam Arcaro

                      Acknowledged

                      File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
                      Line 679, Patchset 5 (Latest):- (void)keyboardWillShow {
                      Adam Arcaro . unresolved

                      I'm not sure how I feel about Gemini-specific logic in the key commands provider. It might be better for the BwgBrowserAgent to register its own observers for keyboard notifications

                      Maybe @rohi...@chromium.org could chime in here, since I do see some feature code in this file

                      Rohit Rao

                      Seems better to register separate observers, unless BWG is specifically hooking into the existing code to add gemini-specific keyboard shortcuts. I don't see that here, it looks like this code could live anywhere?)

                      Adam Arcaro

                      They're new observers, and they do feel Gemini-specific so I think the BwgBrowserAgent could register them

                      Gerrit-Comment-Date: Wed, 21 Jan 2026 00:41:37 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
                      Comment-In-Reply-To: Rohit Rao <rohi...@chromium.org>
                      Comment-In-Reply-To: Adam Arcaro <ada...@google.com>
                      Comment-In-Reply-To: Tarek Makkouk <tarekm...@google.com>
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Joemer Ramos (Gerrit)

                      unread,
                      9:32 AM (3 hours ago) 9:32 AM
                      to Tarek Makkouk, Rohit Rao, Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                      Attention needed from Tarek Makkouk

                      Joemer Ramos added 1 comment

                      File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
                      Line 679, Patchset 5 (Latest):- (void)keyboardWillShow {
                      Adam Arcaro . unresolved

                      I'm not sure how I feel about Gemini-specific logic in the key commands provider. It might be better for the BwgBrowserAgent to register its own observers for keyboard notifications

                      Maybe @rohi...@chromium.org could chime in here, since I do see some feature code in this file

                      Rohit Rao

                      Seems better to register separate observers, unless BWG is specifically hooking into the existing code to add gemini-specific keyboard shortcuts. I don't see that here, it looks like this code could live anywhere?)

                      Adam Arcaro

                      They're new observers, and they do feel Gemini-specific so I think the BwgBrowserAgent could register them

                      Joemer Ramos

                      Ok sounds good, sorry for the hold up Tarek, I think if you revert the CL to your first patchset, we should be good to go

                      Gerrit-Comment-Date: Wed, 21 Jan 2026 14:31:57 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Tarek Makkouk (Gerrit)

                      unread,
                      10:52 AM (2 hours ago) 10:52 AM
                      to Rohit Rao, Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                      Attention needed from Adam Arcaro, Joemer Ramos and Rohit Rao

                      Tarek Makkouk added 1 comment

                      File ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
                      Line 679, Patchset 5:- (void)keyboardWillShow {
                      Adam Arcaro . resolved

                      I'm not sure how I feel about Gemini-specific logic in the key commands provider. It might be better for the BwgBrowserAgent to register its own observers for keyboard notifications

                      Maybe @rohi...@chromium.org could chime in here, since I do see some feature code in this file

                      Rohit Rao

                      Seems better to register separate observers, unless BWG is specifically hooking into the existing code to add gemini-specific keyboard shortcuts. I don't see that here, it looks like this code could live anywhere?)

                      Adam Arcaro

                      They're new observers, and they do feel Gemini-specific so I think the BwgBrowserAgent could register them

                      Joemer Ramos

                      Ok sounds good, sorry for the hold up Tarek, I think if you revert the CL to your first patchset, we should be good to go

                      Tarek Makkouk

                      No worries, thank you for making sure we use the right approach!

                      Open in Gerrit

                      Related details

                      Attention is currently required from:
                      • Adam Arcaro
                      • Joemer Ramos
                      • Rohit Rao
                      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: Iff2fbeacaf0ab43ceccd3bcaad3a019164c19f43
                      Gerrit-Change-Number: 7471805
                      Gerrit-PatchSet: 7
                      Gerrit-Owner: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                      Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
                      Gerrit-Reviewer: Rohit Rao <rohi...@chromium.org>
                      Gerrit-Reviewer: Tarek Makkouk <tarekm...@google.com>
                      Gerrit-Attention: Joemer Ramos <joeme...@google.com>
                      Gerrit-Attention: Rohit Rao <rohi...@chromium.org>
                      Gerrit-Attention: Adam Arcaro <ada...@google.com>
                      Gerrit-Comment-Date: Wed, 21 Jan 2026 15:52:06 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy
                      Reply all
                      Reply to author
                      Forward
                      0 new messages