| Index: third_party/WebKit/Source/modules/worklet/ThreadedWorkletGlobalScopeProxy.h
|
| diff --git a/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h b/third_party/WebKit/Source/modules/worklet/ThreadedWorkletGlobalScopeProxy.h
|
| similarity index 32%
|
| copy from third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
|
| copy to third_party/WebKit/Source/modules/worklet/ThreadedWorkletGlobalScopeProxy.h
|
| index 6fce9256a167db632da6f952d8bea454ed09d743..e8d5d0e5ee5bd94828d5c26a500dda2e8a9076b9 100644
|
| --- a/third_party/WebKit/public/web/modules/webmidi/WebMIDIOptions.h
|
| +++ b/third_party/WebKit/Source/modules/worklet/ThreadedWorkletGlobalScopeProxy.h
|
| @@ -2,23 +2,26 @@
|
| // 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
|
| +#ifndef ThreadedWorkletGlobalScopeProxy_h
|
| +#define ThreadedWorkletGlobalScopeProxy_h
|
|
|
| -namespace blink {
|
| +#include "core/workers/WorkletGlobalScopeProxy.h"
|
|
|
| -struct WebMIDIOptions {
|
| - enum class SysexPermission { WithSysex, WithoutSysex };
|
| +namespace blink {
|
|
|
| - explicit WebMIDIOptions(SysexPermission sysex)
|
| - : sysex(sysex)
|
| +class ThreadedWorkletGlobalScopeProxy : public WorkletGlobalScopeProxy {
|
| +public:
|
| + void evaluateScript(const String& source, const KURL& scriptURL) final
|
| {
|
| + // TODO(ikilpatrick): implement.
|
| }
|
|
|
| - const SysexPermission sysex;
|
| - // TODO(crbug.com/502127): Add bool software to follow the latest spec.
|
| + void terminateWorkletGlobalScope() final
|
| + {
|
| + // TODO(ikilpatrick): implement.
|
| + }
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebMIDIOptions_h
|
| +#endif // ThreadedWorkletGlobalScopeProxy_h
|
|
|