OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CompositorFilterKeyframe_h |
| 6 #define CompositorFilterKeyframe_h |
| 7 |
| 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/graphics/CompositorFilterOperations.h" |
| 10 #include "wtf/OwnPtr.h" |
| 11 #include "wtf/PassOwnPtr.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class PLATFORM_EXPORT CompositorFilterKeyframe { |
| 16 public: |
| 17 CompositorFilterKeyframe(double time, PassOwnPtr<CompositorFilterOperations>
); |
| 18 ~CompositorFilterKeyframe(); |
| 19 |
| 20 double time() const { return m_time; } |
| 21 |
| 22 const CompositorFilterOperations& value() const { return *m_value.get(); } |
| 23 |
| 24 private: |
| 25 double m_time; |
| 26 OwnPtr<CompositorFilterOperations> m_value; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // CompositorFilterKeyframe_h |
OLD | NEW |