• rkuroiwa's avatar
    Add touch events to the protocol, the stub layer, and to the client plugin. · 0e68803f
    rkuroiwa authored
    - Add TouchEvent and TouchEventPoint messages to the input event protocol.
    - Extend the InputStub interface with an InjectTouchEvent() method.
    - Update InputEventTracker to track touch points, and to cancel them
      when ReleaseAll() is called.
    - Implement touch handling in the client plugin, but off by default.
      The web-app may choose to enable touch handling if desired.
    - Add a TouchInputScaler that scales and clamps touch points, similarly to
      the MouseInputFilter, for use by both client and host.
    Review URL: https://codereview.chromium.org/799233004
    Cr-Commit-Position: refs/heads/master@{#318284}
input_filter.cc 1.07 KB