• Jiawei Li's avatar
    [Chromecast] Chromecast support for tap down gestures · 06e3ca58
    Jiawei Li authored
    - TAP_DOWN is added to CastContentWindow::GestureType
    - The gesture detection is attached to the root window and handles
      tap down events. A new JS binding API: onTapDownHandler will be hosted on
      platform
    - HandleTapGesture: finger is released after pressed within tap timeout window
      HandleTapDownGesture: finger is pressed
    
    Bug: internal b/75979846
    Test: build manually and test whether both tap and tap down handler callback works
    Change-Id: Iaefa6df9c7a5284ba27964083fc056bf36cf480a
    Reviewed-on: https://chromium-review.googlesource.com/1115418Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
    Commit-Queue: Jiawei Li <lijiawei@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#574373}
    06e3ca58
cast_content_window.h 5.3 KB