// Copyright 2019 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
// Partial Navigator interface for functionality related to HID subsystem | |
// devices. | |
// https://wicg.github.io/webhid/index.html#enumeration | |
[ | |
ImplementedAs=HID, | |
RuntimeEnabled=WebHID, | |
SecureContext | |
] partial interface Navigator { | |
[SameObject] readonly attribute HID hid; | |
}; |