OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |