Web MIDI: add blink APIs to notify device connection events
Add different versions of APIs of didAddInputPort() and didAddOutputPort() that have a active flag. Old versions will be deprecated once Chromium side is changed to use the new APIs. Also, add didSetInputPortState() and didSetOutputPortState() to notify device status changes. These updates are needed to manage device connections and disconnections in consistent between Chromium and Blink. BUG=279097 TEST=LayoutTets and manual tests Review URL: https://codereview.chromium.org/649683006 git-svn-id: svn://svn.chromium.org/blink/trunk@183974 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment