Zachary Tan
e51a9e0550
[FedCM] Show account chooser for non-returning user on approved client
...
Currently on button mode, for this particular case of a logged out
user signing in as a non-returning user on an RP which is in the list
of approved clients, we would show disclosure UI without the
disclosure text. This patch makes it such that we show the account
chooser instead because the disclosure UI without the disclosure text
is unnecessary new UI surface which doesn't convey any additional
information compared to the account chooser.
Note that we show the multi account picker instead of the single account
picker. This is because when we were showing disclosure UI, the user was
able to go back and retrieve the original list of accounts by clicking
the "Back" button. However, the "back" button is not available on the
account pickers. We prefer a multi account picker compared to having an
additional UI surface. The most recently signed in accounts are shown
at the top of the multi account picker.
This patch also refactors the state machine. We used to set the state_
to State::REQUEST_PERMISSION for single account pickers on the bubble
but that is confusing. This patch changes it to have state_ be
State::SINGLE_ACCOUNT_PICKER.
Bug: 342557704
Change-Id: I9435ee5a34cf47567c6a4a16bbffd99ba8eee798
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5578254
Reviewed-by: Yi Gu <yigu@chromium.org >
Commit-Queue: Zachary Tan <tanzachary@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1313829}
2024-06-12 04:45:25 +00:00
..
2024-06-11 21:32:15 +00:00
2024-06-07 16:01:51 +00:00
2024-05-29 07:14:42 +00:00
2024-06-11 14:32:26 +00:00
2024-06-10 14:38:08 +00:00
2024-04-22 15:16:27 +00:00
2024-05-15 04:36:02 +00:00
2024-06-04 18:45:31 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-02-11 19:24:26 +00:00
2024-05-30 10:32:14 +00:00
2024-06-10 20:07:29 +00:00
2024-04-27 00:39:58 +00:00
2024-06-07 01:28:00 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-11 02:28:57 +00:00
2024-05-29 18:14:19 +00:00
2024-04-27 00:39:58 +00:00
2024-06-03 08:17:39 +00:00
2024-05-29 18:14:19 +00:00
2024-03-13 21:57:27 +00:00
2024-05-29 18:14:19 +00:00
2024-02-11 19:24:26 +00:00
2024-06-12 04:42:25 +00:00
2024-06-08 05:13:06 +00:00
2024-03-29 01:52:42 +00:00
2024-06-03 16:43:14 +00:00
2024-06-08 05:13:06 +00:00
2024-06-05 16:35:34 +00:00
2024-05-15 04:36:02 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-04-22 19:33:31 +00:00
2024-06-11 21:27:56 +00:00
2024-06-11 14:32:40 +00:00
2024-05-15 04:36:02 +00:00
2024-05-15 04:36:02 +00:00
2024-02-11 19:24:26 +00:00
2024-05-27 14:52:11 +00:00
2024-02-11 19:24:26 +00:00
2024-06-10 22:11:44 +00:00
2024-05-14 23:14:23 +00:00
2024-06-11 18:41:32 +00:00
2024-04-03 04:56:11 +00:00
2024-06-11 22:21:21 +00:00
2024-04-27 00:39:58 +00:00
2024-04-20 03:05:40 +00:00
2024-06-04 21:44:12 +00:00
2024-06-11 15:13:58 +00:00
2024-04-22 19:33:31 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-04-19 21:31:46 +00:00
2024-06-11 15:47:48 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-05 20:56:20 +00:00
2024-05-15 04:36:02 +00:00
2024-05-27 14:52:11 +00:00
2024-05-22 19:05:07 +00:00
2024-06-11 23:35:21 +00:00
2024-04-22 23:34:28 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-04 18:45:31 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-06-12 04:42:25 +00:00
2024-06-11 14:43:19 +00:00
2024-05-23 20:06:26 +00:00
2024-04-27 00:39:58 +00:00
2024-06-11 23:35:21 +00:00
2024-06-08 05:13:06 +00:00
2024-06-11 23:35:21 +00:00
2024-03-06 03:38:17 +00:00
2024-06-11 23:16:26 +00:00
2024-04-22 15:16:27 +00:00
2024-06-07 00:37:29 +00:00
2024-02-23 20:12:35 +00:00
2024-06-03 13:00:51 +00:00
2024-06-08 05:13:06 +00:00
2024-05-09 13:00:42 +00:00
2024-06-04 21:35:17 +00:00
2024-02-19 03:46:58 +00:00
2024-06-08 05:13:06 +00:00
2024-05-29 23:47:54 +00:00
2024-02-11 19:24:26 +00:00
2024-06-11 23:35:21 +00:00
2024-04-27 00:39:58 +00:00
2024-06-08 05:13:06 +00:00
2024-06-10 22:01:22 +00:00
2024-06-12 04:45:25 +00:00
2024-06-10 14:47:05 +00:00
2024-03-06 19:36:01 +00:00
2024-02-11 19:24:26 +00:00
2024-06-08 05:13:06 +00:00
2024-06-11 23:16:26 +00:00
2024-06-08 05:13:06 +00:00
2024-02-23 20:18:45 +00:00
2024-06-08 05:13:06 +00:00
2024-06-11 23:35:21 +00:00
2024-03-19 09:49:41 +00:00
2024-06-07 01:28:00 +00:00
2024-06-11 23:35:21 +00:00
2024-04-27 00:39:58 +00:00
2024-04-27 00:39:58 +00:00
2024-04-22 19:33:31 +00:00
2024-06-07 15:56:32 +00:00
2024-06-07 15:56:32 +00:00
2024-06-11 22:21:21 +00:00
2024-04-19 21:31:46 +00:00
2024-05-15 04:36:02 +00:00
2024-04-15 23:48:16 +00:00
2024-04-27 00:39:58 +00:00
2024-06-04 18:45:31 +00:00
2024-04-27 00:39:58 +00:00
2024-04-27 00:39:58 +00:00
2024-05-30 14:00:58 +00:00
2024-05-10 23:30:00 +00:00
2024-05-23 08:05:17 +00:00
2024-06-08 05:13:06 +00:00
2024-04-15 13:43:41 +00:00
2024-05-23 18:37:16 +00:00
2024-04-22 19:33:31 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-04-17 01:11:36 +00:00
2024-04-27 00:39:58 +00:00
2024-06-07 09:33:18 +00:00
2024-06-08 05:13:06 +00:00
2024-06-08 05:13:06 +00:00
2024-04-17 00:35:53 +00:00
2024-05-29 18:14:19 +00:00
2024-04-22 19:33:31 +00:00
2024-05-15 04:36:02 +00:00
2024-04-27 00:39:58 +00:00
2024-05-23 01:03:27 +00:00
2024-02-15 21:17:47 +00:00
2024-04-23 17:03:55 +00:00
2024-04-20 03:05:40 +00:00
2024-04-23 17:03:55 +00:00
2024-03-25 18:07:31 +00:00
2024-04-27 00:39:58 +00:00
2024-06-05 23:55:30 +00:00
2024-05-17 16:13:43 +00:00
2024-05-03 20:06:42 +00:00
2024-03-30 00:54:21 +00:00
2024-05-01 15:13:24 +00:00
2024-05-08 23:11:08 +00:00
2024-04-03 10:15:14 +00:00
2024-04-23 20:14:53 +00:00
2024-05-30 19:03:52 +00:00
2024-04-22 15:16:27 +00:00
2024-06-08 05:13:06 +00:00
2024-05-15 04:36:02 +00:00
2024-06-08 05:13:06 +00:00
2024-05-15 04:36:02 +00:00
2024-05-07 02:13:54 +00:00
2024-02-19 03:46:58 +00:00
2024-04-22 19:33:31 +00:00
2024-04-24 19:41:44 +00:00
2024-06-08 05:13:06 +00:00
2024-05-23 16:59:36 +00:00
2024-06-05 20:35:43 +00:00
2024-04-03 10:15:14 +00:00
2024-04-03 10:15:14 +00:00
2024-06-03 15:40:38 +00:00
2024-06-03 15:40:38 +00:00
2024-04-03 04:56:11 +00:00
2024-06-11 19:34:47 +00:00
2024-05-17 21:35:58 +00:00
2024-04-27 00:39:58 +00:00
2024-04-27 00:39:58 +00:00
2024-04-03 10:15:14 +00:00
2024-04-22 19:33:31 +00:00
2024-06-11 23:35:21 +00:00
2024-04-27 00:39:58 +00:00
2024-05-28 22:45:35 +00:00
2024-05-28 22:45:35 +00:00
2024-05-15 04:36:02 +00:00
2024-04-03 10:15:14 +00:00
2024-02-12 07:20:23 +00:00
2024-06-08 05:13:06 +00:00
2024-03-06 19:36:01 +00:00
2024-03-06 19:36:01 +00:00
2024-04-22 19:33:31 +00:00
2024-02-12 07:20:23 +00:00
2024-04-27 00:39:58 +00:00
2024-05-29 12:41:25 +00:00
2024-06-03 13:00:51 +00:00
2024-04-03 10:15:14 +00:00
2024-02-19 03:46:58 +00:00
2024-04-03 10:15:14 +00:00
2024-05-31 11:09:49 +00:00
2024-05-24 06:42:07 +00:00
2024-02-26 10:21:17 +00:00
2024-04-20 03:05:40 +00:00
2024-06-10 16:35:19 +00:00
2024-06-03 13:00:51 +00:00
2024-05-23 01:03:27 +00:00
2024-05-23 01:03:27 +00:00
2024-06-11 23:35:21 +00:00
2024-06-08 05:13:06 +00:00
2024-04-27 00:39:58 +00:00
2024-05-02 16:22:08 +00:00
2024-06-05 20:35:43 +00:00
2024-03-20 20:21:43 +00:00
2024-05-13 17:22:55 +00:00
2024-04-23 17:57:15 +00:00
2024-04-27 00:39:58 +00:00
2024-06-06 20:11:50 +00:00
2024-04-27 00:39:58 +00:00
2024-04-27 00:39:58 +00:00
2024-06-11 23:35:21 +00:00
2024-06-05 16:16:22 +00:00
2024-05-07 16:48:37 +00:00
2024-06-05 16:16:22 +00:00
2024-06-05 21:00:40 +00:00
2024-04-27 00:39:58 +00:00
2024-05-30 10:32:14 +00:00
2024-04-27 00:39:58 +00:00
2024-04-27 00:39:58 +00:00
2024-04-27 00:39:58 +00:00
2024-05-21 12:56:20 +00:00
2024-02-14 10:03:33 +00:00
2024-06-08 05:13:06 +00:00
2024-06-11 19:46:52 +00:00
2024-06-07 01:28:00 +00:00
2024-05-23 16:52:47 +00:00
2024-05-21 20:04:55 +00:00
2024-05-15 04:36:02 +00:00
2024-03-27 02:56:00 +00:00
2024-06-08 05:13:06 +00:00
2024-03-12 18:57:24 +00:00
2024-03-12 18:57:24 +00:00
2024-05-15 04:36:02 +00:00
2024-06-04 15:02:50 +00:00
2024-04-27 00:39:58 +00:00
2024-05-15 04:36:02 +00:00
2024-05-29 12:38:10 +00:00
2024-05-24 06:42:07 +00:00
2024-04-19 21:31:46 +00:00
2024-06-10 22:14:25 +00:00
2024-06-06 15:33:13 +00:00
2024-06-10 22:14:25 +00:00
2024-04-03 16:30:34 +00:00
2024-05-02 10:51:09 +00:00
2024-05-02 10:51:09 +00:00
2024-05-10 23:30:00 +00:00
2024-05-28 17:23:04 +00:00
2024-05-15 04:36:02 +00:00
2024-04-27 00:39:58 +00:00
2024-04-11 18:49:57 +00:00
2024-05-15 04:36:02 +00:00