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

Unified Diff: Source/platform/CrossThreadCopier.h

Issue 491053004: Expose Web Animations API to Web Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Exposing the Web Animations API to Web Workers Created 6 years, 4 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/platform/CrossThreadCopier.h
diff --git a/Source/platform/CrossThreadCopier.h b/Source/platform/CrossThreadCopier.h
index 8f89df80a0f18a162fa02d2c9e9f98eadbb2fda6..d5edad63abf70e61f310f30b587a3118a9d088e8 100644
--- a/Source/platform/CrossThreadCopier.h
+++ b/Source/platform/CrossThreadCopier.h
@@ -41,6 +41,8 @@
#include "wtf/RefPtr.h"
#include "wtf/ThreadSafeRefCounted.h"
#include "wtf/TypeTraits.h"
+#include "wtf/Vector.h"
+#include "wtf/text/WTFString.h"
namespace blink {
@@ -50,10 +52,14 @@ namespace blink {
class ResourceError;
class ResourceRequest;
class ResourceResponse;
+ class RemotePlayer;
struct CrossThreadResourceResponseData;
struct CrossThreadResourceRequestData;
struct ThreadableLoaderOptions;
struct ResourceLoaderOptions;
+ struct Timing;
+ struct ProxyKeyframe;
+ struct ProxyPairs;
template<typename T> struct CrossThreadCopierPassThrough {
typedef T Type;
@@ -77,6 +83,24 @@ namespace blink {
template<> struct CrossThreadCopierBase<false, false, false, ResourceLoaderOptions> : public CrossThreadCopierPassThrough<ResourceLoaderOptions> {
};
+ template<> struct CrossThreadCopierBase<false, false, false, Timing> : public CrossThreadCopierPassThrough<Timing> {
+ };
+
+ template<> struct CrossThreadCopierBase<false, false, false, RemotePlayer*> : public CrossThreadCopierPassThrough<RemotePlayer*> {
+ };
+
+ template<> struct CrossThreadCopierBase<false, false, false, Vector<ProxyPairs> > : public CrossThreadCopierPassThrough<Vector<ProxyPairs> > {
+ };
+
+ template<> struct CrossThreadCopierBase<false, false, false, ProxyKeyframe> : public CrossThreadCopierPassThrough<ProxyKeyframe> {
+ };
+
+ template<> struct CrossThreadCopierBase<false, false, false, Vector<ProxyKeyframe> > : public CrossThreadCopierPassThrough<Vector<ProxyKeyframe> > {
+ };
+
+ template<> struct CrossThreadCopierBase<false, false, false, Vector<String> > : public CrossThreadCopierPassThrough<Vector<String> > {
+ };
+
template<> struct CrossThreadCopierBase<false, false, false, IntRect> : public CrossThreadCopierPassThrough<IntRect> {
};

Powered by Google App Engine
This is Rietveld 408576698