Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: third_party/WebKit/public/web/WebMIDIOptions.h

Issue 1602703005: Web MIDI: Ask permissions of the content layer always (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split changes outside blink Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698