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

Unified Diff: Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.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/V8CompositorWorkerCustom.cpp
diff --git a/Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp b/Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..48f2ce23e1f4611d2c1c823a3236fbf8fe5cf03e
--- /dev/null
+++ b/Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.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/V8CompositorWorker.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 V8CompositorWorker::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
+{
+ postMessageMethodCommon("CompositorWorker", V8CompositorWorker::toImpl(info.Holder()), info);
+}
+
+} // namespace blink
« no previous file with comments | « Source/bindings/modules/modules.gni ('k') | Source/bindings/modules/v8/custom/V8CompositorWorkerGlobalScopeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698