| OLD | NEW |
| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
| 35 #include "core/animation/AnimationTimeline.h" | 35 #include "core/animation/AnimationTimeline.h" |
| 36 #include "platform/bindings/ScriptWrappable.h" | 36 #include "platform/bindings/ScriptWrappable.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class Document; | 40 class Document; |
| 41 | 41 |
| 42 class CORE_EXPORT DocumentTimeline final : public AnimationTimeline { | 42 class CORE_EXPORT DocumentTimeline final : public AnimationTimeline { |
| 43 DEFINE_WRAPPERTYPEINFO(); | |
| 44 | |
| 45 public: | 43 public: |
| 46 static DocumentTimeline* Create(Document* document) { | 44 static DocumentTimeline* Create(Document* document) { |
| 47 return new DocumentTimeline(document); | 45 return new DocumentTimeline(document); |
| 48 } | 46 } |
| 49 | 47 |
| 50 private: | 48 private: |
| 51 DocumentTimeline(Document* document) : AnimationTimeline(document, nullptr) {} | 49 DocumentTimeline(Document* document) : AnimationTimeline(document, nullptr) {} |
| 52 | 50 |
| 53 friend class AnimationDocumentTimelineTest; | 51 friend class AnimationDocumentTimelineTest; |
| 54 }; | 52 }; |
| 55 | 53 |
| 56 } // namespace blink | 54 } // namespace blink |
| 57 | 55 |
| 58 #endif | 56 #endif |
| OLD | NEW |