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

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

Issue 112463008: Move core/platform/animation files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add comments and platform tests Created 6 years, 11 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 18 matching lines...) Expand all
29 */ 29 */
30 30
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 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 "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 // PrintTo functions
46 void PrintTo(const LinearTimingFunction&, ::std::ostream*); 46 void PrintTo(const LinearTimingFunction&, ::std::ostream*);
47 void PrintTo(const CubicBezierTimingFunction&, ::std::ostream*); 47 void PrintTo(const CubicBezierTimingFunction&, ::std::ostream*);
48 void PrintTo(const StepsTimingFunction&, ::std::ostream*); 48 void PrintTo(const StepsTimingFunction&, ::std::ostream*);
49 void PrintTo(const ChainedTimingFunction&, ::std::ostream*); 49 void PrintTo(const ChainedTimingFunction&, ::std::ostream*);
50 void PrintTo(const TimingFunction&, ::std::ostream*); 50 void PrintTo(const TimingFunction&, ::std::ostream*);
51 51
52 // operator== functions 52 // operator== functions
53 bool operator==(const LinearTimingFunction&, const TimingFunction&); 53 bool operator==(const LinearTimingFunction&, const TimingFunction&);
54 bool operator==(const CubicBezierTimingFunction&, const TimingFunction&); 54 bool operator==(const CubicBezierTimingFunction&, const TimingFunction&);
55 bool operator==(const StepsTimingFunction&, const TimingFunction&); 55 bool operator==(const StepsTimingFunction&, const TimingFunction&);
56 bool operator==(const ChainedTimingFunction&, const TimingFunction&); 56 bool operator==(const ChainedTimingFunction&, const TimingFunction&);
57 57
58 bool operator==(const TimingFunction&, const TimingFunction&); 58 bool operator==(const TimingFunction&, const TimingFunction&);
59 bool operator!=(const TimingFunction&, const TimingFunction&); 59 bool operator!=(const TimingFunction&, const TimingFunction&);
60 60
61 } // namespace WebCore 61 } // namespace WebCore
62 62
63 #endif 63 #endif
OLDNEW
« no previous file with comments | « Source/platform/animation/TimingFunction.h ('k') | Source/platform/animation/TimingFunctionTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698