[Fuchsia] Prepare webrunner for ViewsV2 migration.
The old fuchsia.ui.viewsv1 API is being replaced with views support in Scenic. This CL prepares chromium for that migration: 1. Adds implementation of fuchsia.app.ViewFactory in WebComponent. fuchsia.viewsv1.ViewFactory will be removed in the future after it's removed and all consumers are updated. 2. Added CreateView2() method in the chromium.web.Frame interface. It is compatible with ViewsV2 and will replace the old CreateView(). 3. Updated content_shell and ozone_demo to use Presenter::Present2(), which is compatible with ViewsV2. Bug: 899348 Change-Id: I82d066cdd60dc06cf598f336a40cca4584d1e3bb Reviewed-on: https://chromium-review.googlesource.com/c/1311123 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Wez <wez@chromium.org> Reviewed-by:
Kevin Marshall <kmarshall@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#605203}
Showing
Please register or sign in to comment