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

Unified Diff: Source/core/wawwa/ProxyKeyframe.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/core/wawwa/ProxyKeyframe.h
diff --git a/Source/platform/weborigin/Referrer.h b/Source/core/wawwa/ProxyKeyframe.h
similarity index 81%
copy from Source/platform/weborigin/Referrer.h
copy to Source/core/wawwa/ProxyKeyframe.h
index b8d957258133c20a5a840f0ce8d99f95e5f84a87..565279e8a1ce97e7b04faef82d6c7e76d5973b77 100644
--- a/Source/platform/weborigin/Referrer.h
+++ b/Source/core/wawwa/ProxyKeyframe.h
@@ -28,22 +28,30 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Referrer_h
-#define Referrer_h
+#ifndef ProxyKeyframe_h
+#define ProxyKeyframe_h
-#include "platform/weborigin/ReferrerPolicy.h"
+#include "wtf/RefPtr.h"
+#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
namespace blink {
-struct Referrer {
- Referrer(const String& referrer, ReferrerPolicy referrerPolicy) : referrer(referrer), referrerPolicy(referrerPolicy) { }
- Referrer() : referrerPolicy(ReferrerPolicyDefault) { }
+enum ACTIONS {Animate, Pause, Play, Cancel, Finish, Reverse};
dstockwell 2014/08/29 01:05:44 Action, or ProxyPlayerAction. Why is this in Prox
nainar1 2014/08/29 06:01:39 Cause ProxyKeyframe - was already being imported e
- AtomicString referrer;
- ReferrerPolicy referrerPolicy;
+struct ProxyPairs {
+ String property;
+ String value;
+};
+
+struct ProxyKeyframe {
+ double offset;
+ String easing;
+ String composite;
+
+ Vector<ProxyPairs> pairs;
};
}
-#endif // Referrer_h
+#endif

Powered by Google App Engine
This is Rietveld 408576698