forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Passwords] Detect whether a form is ready for submission before TTF
Before this CL, to submit or not was decided after filling by TTF (PasswordAutofillAgent::TriggerSubmission). We want to variate the button title and other UI strings in TTF depending on whether TTF is going to submit form or not after filling. In order to variate strings, the renderer should calculate whether a form is ready for submission when it shows TTF (PasswordAutofillAgent::TryToShowTouchToFill) and propagate it to the browser. TODO in another CL: propagate the verdict to Java and variate the button title. Tests: - TouchToFillControllerTest_Show_Fill_And_Submit - TouchToFillControllerTest_Show_Fill_And_Dont_Submit (new) - TouchToFillControllerTest_Show_And_Fill_Auth_Available_Success - PasswordAutofillAgentTest_TryToShowTouchToFill* Bug: 1283004 Change-Id: I9cf93aa61a213618c8821e33a3988fb801d1d979 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3477297 Reviewed-by: Colin Blundell <[email protected]> Reviewed-by: Dave Tapuska <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Vasilii Sukhanov <[email protected]> Commit-Queue: Maxim Kolosovskiy <[email protected]> Cr-Commit-Position: refs/heads/main@{#976298}
- Loading branch information
Maxim Kolosovskiy
authored and
Chromium LUCI CQ
committed
Mar 1, 2022
1 parent
3c219c1
commit 95d009a
Showing
16 changed files
with
168 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.