| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #ifndef WebFilterKeyframe_h | 32 #ifndef WebFilterKeyframe_h |
| 33 #define WebFilterKeyframe_h | 33 #define WebFilterKeyframe_h |
| 34 | 34 |
| 35 #include "WebFilterOperations.h" | 35 #include "WebFilterOperations.h" |
| 36 #include "WebPrivateOwnPtr.h" | 36 #include "WebPrivateOwnPtr.h" |
| 37 | 37 |
| 38 #if INSIDE_BLINK | 38 #if INSIDE_BLINK |
| 39 namespace WTF { template <typename T> class PassOwnPtr; } | 39 namespace WTF { template <typename T> class PassOwnPtr; } |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 namespace WebKit { | 42 namespace blink { |
| 43 | 43 |
| 44 class WebFilterKeyframe { | 44 class WebFilterKeyframe { |
| 45 public: | 45 public: |
| 46 #if INSIDE_BLINK | 46 #if INSIDE_BLINK |
| 47 BLINK_PLATFORM_EXPORT WebFilterKeyframe(double time, PassOwnPtr<WebFilterOpe
rations>); | 47 BLINK_PLATFORM_EXPORT WebFilterKeyframe(double time, PassOwnPtr<WebFilterOpe
rations>); |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 BLINK_PLATFORM_EXPORT ~WebFilterKeyframe(); | 50 BLINK_PLATFORM_EXPORT ~WebFilterKeyframe(); |
| 51 | 51 |
| 52 double time() const { return m_time; } | 52 double time() const { return m_time; } |
| 53 | 53 |
| 54 const WebFilterOperations& value() const { return *m_value.get(); } | 54 const WebFilterOperations& value() const { return *m_value.get(); } |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 double m_time; | 57 double m_time; |
| 58 WebPrivateOwnPtr<WebFilterOperations> m_value; | 58 WebPrivateOwnPtr<WebFilterOperations> m_value; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace WebKit | 61 } // namespace blink |
| 62 | 62 |
| 63 #endif // WebFilterKeyframe_h | 63 #endif // WebFilterKeyframe_h |
| OLD | NEW |