0
Files
src/ui
Olga Gerchikov 39e482689d Refactored VisualSubtree's into VisualTree inner class.
This change is a preparation step to implement incremental tree
updates and getting rid of needs_rebuild_visual_tree_.

Changes made:
- Introduced VisulTree inner class of DCLayerTree. Now VisualTree
contains VisualSubtree's.
- Moved logic responsible for building dcomp tree from
 DCLayerTree::BuildVisualTreeHelper to VisualTree::UpdateTree.
- Removed DCLayerTree::root_surface_visual_. This reference is only
used to add DelegatedInkVisual to the tree. Now this visual is locally
cached within DCLayerTree::VisualTree::UpdateTree.
- Introduced kDCVisualTreeOptimization feature. In subsequent CLs
incremental tree updates will be implemented behind this feature.

Bug: 1380822
Change-Id: If546629ed09d98f44e9826c8beec815653da79cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4051988
Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1111973}
2023-03-02 01:46:06 +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).