• Jun Mukai's avatar
    Fix UIControls for interactive_ui_tests w/ Mash · bfa0cad2
    Jun Mukai authored
    It seems UIControlsAsh is still used for interactive_ui_tests,
    which isn't the case with Mash. Thus I changed the installation
    of UIControls for this, meaning:
    - do not install the UIControlsAsh on Main of interactive_ui_tests
    - create and install UIControlsOzone during PreRunTestOnMainThread.
      This needs to be here since it needs a window tree host.
    - fix the positioning logic in UIControlsOzone -- it creates the
      location in root_window's coordinate, which is actually intended
      to be display's coordinate.
    
    BUG=883523
    TEST=no breakage on existing tests
    
    Change-Id: I62b1aea1a28deee4dd1d6da377574af8fddef5ed
    Reviewed-on: https://chromium-review.googlesource.com/1228942
    Commit-Queue: Jun Mukai <mukai@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#592252}
    bfa0cad2
BUILD.gn 96.2 KB