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

Side by Side Diff: sky/engine/core/animation/animatable/AnimatableValueTestHelper.h

Issue 1214633005: Remove CSS clients of ImageResource (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
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 20 matching lines...) Expand all
31 /** 31 /**
32 * Make testing with gtest and gmock nicer by adding pretty print and other 32 * Make testing with gtest and gmock nicer by adding pretty print and other
33 * helper functions. 33 * helper functions.
34 */ 34 */
35 35
36 #ifndef SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUETESTHELPER_H_ 36 #ifndef SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUETESTHELPER_H_
37 #define SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUETESTHELPER_H_ 37 #define SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUETESTHELPER_H_
38 38
39 #include "sky/engine/core/animation/animatable/AnimatableClipPathOperation.h" 39 #include "sky/engine/core/animation/animatable/AnimatableClipPathOperation.h"
40 #include "sky/engine/core/animation/animatable/AnimatableColor.h" 40 #include "sky/engine/core/animation/animatable/AnimatableColor.h"
41 #include "sky/engine/core/animation/animatable/AnimatableImage.h"
42 #include "sky/engine/core/animation/animatable/AnimatableNeutral.h" 41 #include "sky/engine/core/animation/animatable/AnimatableNeutral.h"
43 #include "sky/engine/core/animation/animatable/AnimatableRepeatable.h" 42 #include "sky/engine/core/animation/animatable/AnimatableRepeatable.h"
44 #include "sky/engine/core/animation/animatable/AnimatableShapeValue.h" 43 #include "sky/engine/core/animation/animatable/AnimatableShapeValue.h"
45 #include "sky/engine/core/animation/animatable/AnimatableTransform.h" 44 #include "sky/engine/core/animation/animatable/AnimatableTransform.h"
46 #include "sky/engine/core/animation/animatable/AnimatableUnknown.h" 45 #include "sky/engine/core/animation/animatable/AnimatableUnknown.h"
47 #include "sky/engine/core/animation/animatable/AnimatableValue.h" 46 #include "sky/engine/core/animation/animatable/AnimatableValue.h"
48 47
49 #include "sky/engine/core/css/CSSValueTestHelper.h" 48 #include "sky/engine/core/css/CSSValueTestHelper.h"
50 49
51 // FIXME: Move to something like core/wtf/WTFTestHelpers.h 50 // FIXME: Move to something like core/wtf/WTFTestHelpers.h
52 // Compares the targets of two RefPtrs for equality. 51 // Compares the targets of two RefPtrs for equality.
53 // (Objects still need an operator== defined for this to work). 52 // (Objects still need an operator== defined for this to work).
54 #define EXPECT_REFV_EQ(a, b) EXPECT_EQ(*(a.get()), *(b.get())) 53 #define EXPECT_REFV_EQ(a, b) EXPECT_EQ(*(a.get()), *(b.get()))
55 54
56 namespace blink { 55 namespace blink {
57 56
58 bool operator==(const AnimatableValue&, const AnimatableValue&); 57 bool operator==(const AnimatableValue&, const AnimatableValue&);
59 58
60 void PrintTo(const AnimatableClipPathOperation&, ::std::ostream*); 59 void PrintTo(const AnimatableClipPathOperation&, ::std::ostream*);
61 void PrintTo(const AnimatableColor&, ::std::ostream*); 60 void PrintTo(const AnimatableColor&, ::std::ostream*);
62 void PrintTo(const AnimatableImage&, ::std::ostream*);
63 void PrintTo(const AnimatableNeutral&, ::std::ostream*); 61 void PrintTo(const AnimatableNeutral&, ::std::ostream*);
64 void PrintTo(const AnimatableRepeatable&, ::std::ostream*); 62 void PrintTo(const AnimatableRepeatable&, ::std::ostream*);
65 void PrintTo(const AnimatableShapeValue&, ::std::ostream*); 63 void PrintTo(const AnimatableShapeValue&, ::std::ostream*);
66 void PrintTo(const AnimatableTransform&, ::std::ostream*); 64 void PrintTo(const AnimatableTransform&, ::std::ostream*);
67 void PrintTo(const AnimatableUnknown&, ::std::ostream*); 65 void PrintTo(const AnimatableUnknown&, ::std::ostream*);
68 void PrintTo(const AnimatableValue&, ::std::ostream*); 66 void PrintTo(const AnimatableValue&, ::std::ostream*);
69 67
70 } // namespace blink 68 } // namespace blink
71 69
72 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUETESTHELPER_H_ 70 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATABLE_ANIMATABLEVALUETESTHELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698