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 "core/platform/animation/TimingFunction.h" | 39 #include "core/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 | |
Steve Block
2013/11/06 05:47:19
These comments don't add much!
| |
45 void PrintTo(const LinearTimingFunction&, ::std::ostream*); | 46 void PrintTo(const LinearTimingFunction&, ::std::ostream*); |
46 void PrintTo(const CubicBezierTimingFunction&, ::std::ostream*); | 47 void PrintTo(const CubicBezierTimingFunction&, ::std::ostream*); |
47 void PrintTo(const StepsTimingFunction&, ::std::ostream*); | 48 void PrintTo(const StepsTimingFunction&, ::std::ostream*); |
48 void PrintTo(const ChainedTimingFunction&, ::std::ostream*); | 49 void PrintTo(const ChainedTimingFunction&, ::std::ostream*); |
49 void PrintTo(const TimingFunction&, ::std::ostream*); | 50 void PrintTo(const TimingFunction&, ::std::ostream*); |
50 | 51 |
52 // operator== functions | |
53 bool operator==(const LinearTimingFunction&, const TimingFunction&); | |
54 bool operator==(const CubicBezierTimingFunction&, const TimingFunction&); | |
55 bool operator==(const StepsTimingFunction&, const TimingFunction&); | |
56 bool operator==(const ChainedTimingFunction&, const TimingFunction&); | |
57 | |
58 bool operator==(const TimingFunction&, const TimingFunction&); | |
59 bool operator!=(const TimingFunction&, const TimingFunction&); | |
60 | |
51 } // namespace WebCore | 61 } // namespace WebCore |
52 | 62 |
53 #endif | 63 #endif |
OLD | NEW |