
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}
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).