| Index: third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
|
| diff --git a/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h b/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6fce9256a167db632da6f952d8bea454ed09d743
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 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.
|
| +
|
| +#ifndef WebMIDIOptions_h
|
| +#define WebMIDIOptions_h
|
| +
|
| +namespace blink {
|
| +
|
| +struct WebMIDIOptions {
|
| + enum class SysexPermission { WithSysex, WithoutSysex };
|
| +
|
| + explicit WebMIDIOptions(SysexPermission sysex)
|
| + : sysex(sysex)
|
| + {
|
| + }
|
| +
|
| + const SysexPermission sysex;
|
| + // TODO(crbug.com/502127): Add bool software to follow the latest spec.
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebMIDIOptions_h
|
|
|