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

Side by Side Diff: Source/core/platform/animation/TimingFunctionTestHelper.h

Issue 60323005: Adding operator== to TimingFunctionTestHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + Fixing "control reaches end of non-void function". Created 7 years, 1 month 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 24 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « Source/core/platform/animation/TimingFunction.h ('k') | Source/core/platform/animation/TimingFunctionTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698