Chromium Code Reviews| Index: third_party/WebKit/public/web/WebMIDIOptions.h |
| diff --git a/third_party/WebKit/public/web/WebMIDIOptions.h b/third_party/WebKit/public/web/WebMIDIOptions.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e6e627dddf7c288ec8c1b091e2d9495e41571e10 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/web/WebMIDIOptions.h |
| @@ -0,0 +1,22 @@ |
| +// 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 { |
| + WebMIDIOptions(bool sysex) |
|
yhirano
2016/01/25 11:20:16
[optional] Could you replace this boolean with an
yhirano
2016/01/25 11:20:16
+explicit
Takashi Toyoshima
2016/01/26 07:24:53
Done.
|
| + : sysex(sysex) |
| + { |
| + } |
| + |
| + bool sysex; |
|
yhirano
2016/01/25 11:20:16
const?
Takashi Toyoshima
2016/01/26 07:24:52
Done.
|
| + // TODO(crbug.com/502127): Add bool software to follow the latest spec. |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebMIDIOptions_h |