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

Unified Diff: LayoutTests/fast/compositorworker/resources/proxy-echo.js

Issue 1024233002: compositor-worker: Introduce CompositorProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ctrl-z-bitfields 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: LayoutTests/fast/compositorworker/resources/proxy-echo.js
diff --git a/LayoutTests/fast/compositorworker/resources/proxy-echo.js b/LayoutTests/fast/compositorworker/resources/proxy-echo.js
new file mode 100644
index 0000000000000000000000000000000000000000..7e5b6099fe5238f750cdafa91f8a6a0b95f4cabd
--- /dev/null
+++ b/LayoutTests/fast/compositorworker/resources/proxy-echo.js
@@ -0,0 +1,7 @@
+onmessage = function(msg) {
+ var proxy = msg.data;
+ if (typeof proxy == "CompositorProxy")
+ postMessage({type: "error"});
+ else
+ postMessage({type: 'response', opacity: proxy.supports('opacity'), transform: proxy.supports('transform')});
+}

Powered by Google App Engine
This is Rietveld 408576698