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

Side by Side Diff: Source/core/animation/AnimatableValueTestHelper.cpp

Issue 196943029: Web Animations API: Load resources referenced in element.animate() (reland) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/animation/AnimatableImage.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 << animColor.visitedLinkColor().serialized().utf8().data() << ")"; 53 << animColor.visitedLinkColor().serialized().utf8().data() << ")";
54 } 54 }
55 55
56 void PrintTo(const AnimatableDouble& animDouble, ::std::ostream* os) 56 void PrintTo(const AnimatableDouble& animDouble, ::std::ostream* os)
57 { 57 {
58 PrintTo(*(animDouble.toCSSValue().get()), os, "AnimatableDouble"); 58 PrintTo(*(animDouble.toCSSValue().get()), os, "AnimatableDouble");
59 } 59 }
60 60
61 void PrintTo(const AnimatableImage& animImage, ::std::ostream* os) 61 void PrintTo(const AnimatableImage& animImage, ::std::ostream* os)
62 { 62 {
63 PrintTo(*(animImage.toCSSValue().get()), os, "AnimatableImage"); 63 PrintTo(*(animImage.toCSSValue()), os, "AnimatableImage");
64 } 64 }
65 65
66 void PrintTo(const AnimatableLength& animLength, ::std::ostream* os) 66 void PrintTo(const AnimatableLength& animLength, ::std::ostream* os)
67 { 67 {
68 PrintTo(*(animLength.toCSSValue().get()), os, "AnimatableLength"); 68 PrintTo(*(animLength.toCSSValue().get()), os, "AnimatableLength");
69 } 69 }
70 70
71 void PrintTo(const AnimatableLengthBox& animLengthBox, ::std::ostream* os) 71 void PrintTo(const AnimatableLengthBox& animLengthBox, ::std::ostream* os)
72 { 72 {
73 *os << "AnimatableLengthBox("; 73 *os << "AnimatableLengthBox(";
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 PrintTo(*(toAnimatableTransform(&animValue)), os); 261 PrintTo(*(toAnimatableTransform(&animValue)), os);
262 else if (animValue.isUnknown()) 262 else if (animValue.isUnknown())
263 PrintTo(*(toAnimatableUnknown(&animValue)), os); 263 PrintTo(*(toAnimatableUnknown(&animValue)), os);
264 else if (animValue.isVisibility()) 264 else if (animValue.isVisibility())
265 PrintTo(*(toAnimatableVisibility(&animValue)), os); 265 PrintTo(*(toAnimatableVisibility(&animValue)), os);
266 else 266 else
267 *os << "Unknown AnimatableValue - update ifelse chain in AnimatableValue TestHelper.h"; 267 *os << "Unknown AnimatableValue - update ifelse chain in AnimatableValue TestHelper.h";
268 } 268 }
269 269
270 } // namespace WebCore 270 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/animation/AnimatableImage.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698