0
Files
src/ui
Dana Fried 81c3b0370d [User Education] Preconditions can now cache data
This prevents having to re-acquire resources held by preconditions
associated with a particular promo, such as anchor elements and promo
lifecycle objects.

With ExtractCachedData(), this data can be transferred back to the
controller when the promo is selected to be shown. It is similarly
discarded if the promo is eliminated from the queue.

Care is taken to prohibit types that can cause leaks and dangling
references (via template constraints).

In order to achieve this, type idea of type-bearing identifiers has been
expanded from the Kombucha StateObserver library to a general concept.

API changes to expose cached data when a promo is returned from the
queue will be added in a follow-up CL.

Bug: 369887050
Change-Id: Ie3b631b22303ce538bec5c1fcb8b75105f447161
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023112
Commit-Queue: Dana Fried <dfried@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Emily Shack <emshack@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1383333}
2024-11-15 00:03:04 +00:00
..
2024-10-29 23:42:03 +00:00
2024-11-14 16:23:24 +00:00
2024-11-07 08:18:19 +00:00
2024-11-14 20:34:18 +00:00
2024-10-29 23:42:03 +00:00
2024-10-18 17:39:17 +00:00
2024-10-31 08:39:03 +00:00

This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).