• Elliot Glaysher's avatar
    Start fixing ImmersiveFullscreenController tests. · 3738ee85
    Elliot Glaysher authored
    The OnPointerEventObserved() interface acts differently between mash and
    mus/classic. In mus/classic, the target window is taken from the
    LocatedEvent's target(), relying on previous event dispatch metadata. On
    mash, this event came from a remote service which hasn't been targeted,
    target is therefore the top of the window tree. In the --mash case only,
    target the event on the window and use that as the window we pass to the
    rest of the system.
    
    Bug: 698085
    Change-Id: I8a1859055d9427b269cd5256c7ff114a1e97574d
    Reviewed-on: https://chromium-review.googlesource.com/801976Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Commit-Queue: Elliot Glaysher <erg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#521090}
    3738ee85
window_manager.cc 20.9 KB