| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #define WebAnimation_h | 26 #define WebAnimation_h |
| 27 | 27 |
| 28 #include "WebCommon.h" | 28 #include "WebCommon.h" |
| 29 #include "WebNonCopyable.h" | 29 #include "WebNonCopyable.h" |
| 30 #include "WebPrivateOwnPtr.h" | 30 #include "WebPrivateOwnPtr.h" |
| 31 | 31 |
| 32 #if BLINK_IMPLEMENTATION | 32 #if BLINK_IMPLEMENTATION |
| 33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace blink { |
| 37 class CCActiveAnimation; | 37 class CCActiveAnimation; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class WebAnimationCurve; | 42 class WebAnimationCurve; |
| 43 | 43 |
| 44 // A compositor driven animation. | 44 // A compositor driven animation. |
| 45 class WebAnimation { | 45 class WebAnimation { |
| 46 public: | 46 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 71 virtual void setTimeOffset(double monotonicTime) = 0; | 71 virtual void setTimeOffset(double monotonicTime) = 0; |
| 72 | 72 |
| 73 // If alternatesDirection is true, on odd numbered iterations we reverse the
curve. | 73 // If alternatesDirection is true, on odd numbered iterations we reverse the
curve. |
| 74 virtual bool alternatesDirection() const = 0; | 74 virtual bool alternatesDirection() const = 0; |
| 75 virtual void setAlternatesDirection(bool) = 0; | 75 virtual void setAlternatesDirection(bool) = 0; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace blink | 78 } // namespace blink |
| 79 | 79 |
| 80 #endif // WebAnimation_h | 80 #endif // WebAnimation_h |
| OLD | NEW |