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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 #ifndef TimingFunctionTestHelper_h | 36 #ifndef TimingFunctionTestHelper_h |
37 #define TimingFunctionTestHelper_h | 37 #define TimingFunctionTestHelper_h |
38 | 38 |
39 #include "platform/animation/TimingFunction.h" | 39 #include "platform/animation/TimingFunction.h" |
40 | 40 |
41 #include <ostream> // NOLINT | 41 #include <ostream> // NOLINT |
42 | 42 |
43 namespace WebCore { | 43 namespace WebCore { |
44 | 44 |
45 // PrintTo functions | |
46 void PrintTo(const LinearTimingFunction&, ::std::ostream*); | |
47 void PrintTo(const CubicBezierTimingFunction&, ::std::ostream*); | |
48 void PrintTo(const StepsTimingFunction&, ::std::ostream*); | |
49 void PrintTo(const ChainedTimingFunction&, ::std::ostream*); | |
50 void PrintTo(const TimingFunction&, ::std::ostream*); | 45 void PrintTo(const TimingFunction&, ::std::ostream*); |
51 | 46 |
52 // operator== functions | 47 // operator== functions |
53 bool operator==(const LinearTimingFunction&, const TimingFunction&); | 48 bool operator==(const LinearTimingFunction&, const TimingFunction&); |
54 bool operator==(const CubicBezierTimingFunction&, const TimingFunction&); | 49 bool operator==(const CubicBezierTimingFunction&, const TimingFunction&); |
55 bool operator==(const StepsTimingFunction&, const TimingFunction&); | 50 bool operator==(const StepsTimingFunction&, const TimingFunction&); |
56 bool operator==(const ChainedTimingFunction&, const TimingFunction&); | 51 bool operator==(const ChainedTimingFunction&, const TimingFunction&); |
57 | 52 |
58 bool operator==(const TimingFunction&, const TimingFunction&); | 53 bool operator==(const TimingFunction&, const TimingFunction&); |
59 bool operator!=(const TimingFunction&, const TimingFunction&); | 54 bool operator!=(const TimingFunction&, const TimingFunction&); |
60 | 55 |
61 } // namespace WebCore | 56 } // namespace WebCore |
62 | 57 |
63 #endif | 58 #endif |
OLD | NEW |