Chromium Code Reviews| Index: Source/bindings/modules/v8/custom/V8CompositorWorkerGlobalScopeCustom.cpp |
| diff --git a/Source/bindings/modules/v8/custom/V8CompositorWorkerGlobalScopeCustom.cpp b/Source/bindings/modules/v8/custom/V8CompositorWorkerGlobalScopeCustom.cpp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..68b6df2ffa4cb8e19875940ef02cbf12cf97e094 |
| --- /dev/null |
| +++ b/Source/bindings/modules/v8/custom/V8CompositorWorkerGlobalScopeCustom.cpp |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2015 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. |
| + |
| +#include "config.h" |
| +#include "bindings/modules/v8/V8CompositorWorkerGlobalScope.h" |
| + |
| +#include "bindings/core/v8/PostMessage.h" |
| +#include "bindings/core/v8/V8Binding.h" |
| + |
| +namespace blink { |
| + |
| +// FIXME: This stub should be replaced by generated code. |
|
tkent
2015/03/26 04:22:10
nit: FIXME -> TODO(sadrul)
sadrul
2015/03/26 04:36:38
Done.
|
| +void V8CompositorWorkerGlobalScope::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
| +{ |
| + postMessageMethodCommon("CompositorWorkerGlobalScope", V8CompositorWorkerGlobalScope::toImpl(info.Holder()), info); |
| +} |
| + |
| +} // namespace blink |