mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This refactors how engine semantic updates are mapped to embedder semantic updates. There are no behavioral changes. Part of https://github.com/flutter/flutter/issues/119970, https://github.com/flutter/flutter/issues/98948 Next PR: https://github.com/flutter/engine/pull/44616 ## Background For https://github.com/flutter/flutter/issues/119970, we will need to update the embedder API to add string attributes to semantic nodes' text values. There are multiple kinds of string attributes, and each text value can have multiple string attributes. This requires gnarly mapping code that's best kept out of `embedder.cc`. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style