• Sergey Ulanov's avatar
    [Fuchsia] Prepare webrunner for ViewsV2 migration. · 6e4ece71
    Sergey Ulanov authored
    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: default avatarWez <wez@chromium.org>
    Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#605203}
    6e4ece71
web_component.cc 4.1 KB