| 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 29 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 | 41 |
| 42 void PrintTo(const AnimatableClipPathOperation& animValue, ::std::ostream* os) | 42 void PrintTo(const AnimatableClipPathOperation& animValue, ::std::ostream* os) |
| 43 { | 43 { |
| 44 *os << "AnimatableClipPathOperation@" << &animValue; | 44 *os << "AnimatableClipPathOperation@" << &animValue; |
| 45 } | 45 } |
| 46 | 46 |
| 47 void PrintTo(const AnimatableColor& animColor, ::std::ostream* os) | 47 void PrintTo(const AnimatableColor& animColor, ::std::ostream* os) |
| 48 { | 48 { |
| 49 *os << "AnimatableColor(" | 49 *os << "AnimatableColor(" |
| 50 << animColor.color().serialized().utf8().data() << ", " | 50 << animColor.color().serialized().utf8().data() << ")"; |
| 51 << animColor.visitedLinkColor().serialized().utf8().data() << ")"; | |
| 52 } | 51 } |
| 53 | 52 |
| 54 void PrintTo(const AnimatableImage& animImage, ::std::ostream* os) | 53 void PrintTo(const AnimatableImage& animImage, ::std::ostream* os) |
| 55 { | 54 { |
| 56 PrintTo(*(animImage.toCSSValue()), os, "AnimatableImage"); | 55 PrintTo(*(animImage.toCSSValue()), os, "AnimatableImage"); |
| 57 } | 56 } |
| 58 | 57 |
| 59 void PrintTo(const AnimatableNeutral& animValue, ::std::ostream* os) | 58 void PrintTo(const AnimatableNeutral& animValue, ::std::ostream* os) |
| 60 { | 59 { |
| 61 *os << "AnimatableNeutral@" << &animValue; | 60 *os << "AnimatableNeutral@" << &animValue; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 PrintTo(toAnimatableStrokeDasharrayList(animValue), os); | 151 PrintTo(toAnimatableStrokeDasharrayList(animValue), os); |
| 153 else if (animValue.isTransform()) | 152 else if (animValue.isTransform()) |
| 154 PrintTo(toAnimatableTransform(animValue), os); | 153 PrintTo(toAnimatableTransform(animValue), os); |
| 155 else if (animValue.isUnknown()) | 154 else if (animValue.isUnknown()) |
| 156 PrintTo(toAnimatableUnknown(animValue), os); | 155 PrintTo(toAnimatableUnknown(animValue), os); |
| 157 else | 156 else |
| 158 *os << "Unknown AnimatableValue - update ifelse chain in AnimatableValue
TestHelper.h"; | 157 *os << "Unknown AnimatableValue - update ifelse chain in AnimatableValue
TestHelper.h"; |
| 159 } | 158 } |
| 160 | 159 |
| 161 } // namespace blink | 160 } // namespace blink |
| OLD | NEW |