This change fixes the replacement of this constant, which would require a patch from now on, so now it is managed by a plaster. `AskBeforeHttpDialogController::HasOpenDialogWidget` also got renamed. Chromium changes: https://chromium.googlesource.com/chromium/src/+/b09b2ab7d59f05f8ec5342a75c830731e31fcdf1 commit b09b2ab7d59f05f8ec5342a75c830731e31fcdf1 Author: Chris Thompson <cthomp@chromium.org> Date: Mon Apr 20 13:07:57 2026 -0700 [ABH] Port Ask-before-HTTP dialog to Android This ports the Ask-before-HTTP warning dialog to Android and adds Android UI test coverage in AskBeforeHttpDialogTest. ModalDialogWrapper is updated to plumb the dismissal cause back to the native side so the dialog controller can differentiate between a user explicitly dismissing the dialog (e.g., via the back button) versus the tab disappearing for other reasons (e.g., tab switching). The AskBeforeHttpDialogController is also updated to observe WebContents visibility to handle dialog restoration after tab switching on Android (to match the Desktop behavior where the tab modal is "sticky" to the tab even when it goes to the background). NO_IFTTT=intentional renaming inside blocks Bug: 351990829 Change-Id: Ia95068e5c69762eae26ab9cc137b1f06e05d6a48 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7753961 Reviewed-by: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by: Jack Thiesen <jthiesen@chromium.org> Commit-Queue: Chris Thompson <cthomp@chromium.org> Reviewed-by: Alison Gale <agale@chromium.org> Auto-Submit: Chris Thompson <cthomp@chromium.org> Cr-Commit-Position: refs/heads/main@{#1617725}