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

Unified Diff: Source/bindings/modules/v8/custom/V8CompositorWorkerGlobalScopeCustom.cpp

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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: 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..aac3d9de2db5aae9defe851b4a76c5e09dcab33c
--- /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 {
+
+// TODO(sadrul): This stub should be replaced by generated code.
+void V8CompositorWorkerGlobalScope::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
+{
+ postMessageMethodCommon("CompositorWorkerGlobalScope", V8CompositorWorkerGlobalScope::toImpl(info.Holder()), info);
+}
+
+} // namespace blink
« no previous file with comments | « Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp ('k') | Source/bindings/modules/v8/custom/custom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698