OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WindowAnimationWorklet_h | 5 #ifndef WindowAnimationWorklet_h |
6 #define WindowAnimationWorklet_h | 6 #define WindowAnimationWorklet_h |
7 | 7 |
8 #include "core/dom/ContextLifecycleObserver.h" | 8 #include "core/dom/ContextLifecycleObserver.h" |
| 9 #include "core/frame/LocalDOMWindow.h" |
9 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
10 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
11 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 class AnimationWorklet; | 16 class AnimationWorklet; |
16 class DOMWindow; | 17 class DOMWindow; |
17 class LocalDOMWindow; | 18 class LocalDOMWindow; |
18 class Worklet; | 19 class Worklet; |
(...skipping 16 matching lines...) Expand all Loading... |
35 private: | 36 private: |
36 explicit WindowAnimationWorklet(LocalDOMWindow&); | 37 explicit WindowAnimationWorklet(LocalDOMWindow&); |
37 static const char* supplementName(); | 38 static const char* supplementName(); |
38 | 39 |
39 Member<AnimationWorklet> m_animationWorklet; | 40 Member<AnimationWorklet> m_animationWorklet; |
40 }; | 41 }; |
41 | 42 |
42 } // namespace blink | 43 } // namespace blink |
43 | 44 |
44 #endif // WindowAnimationWorklet_h | 45 #endif // WindowAnimationWorklet_h |
OLD | NEW |