Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: third_party/WebKit/Source/core/animation/CustomCompositorAnimations.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Merge master + s/scoped_ptr/unique_ptr/ Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 CustomCompositorAnimations_h
6 #define CustomCompositorAnimations_h
7
8 #include "core/animation/Animation.h"
9 #include "platform/heap/Handle.h"
10 #include "wtf/Noncopyable.h"
11
12 namespace blink {
13
14 class Element;
15 class CompositorMutation;
16
17 class CustomCompositorAnimations final {
18 DISALLOW_NEW();
19 WTF_MAKE_NONCOPYABLE(CustomCompositorAnimations);
20
21 public:
22 CustomCompositorAnimations() {}
23 void applyUpdate(Element&, const CompositorMutation&);
24
25 DEFINE_INLINE_TRACE()
26 {
27 visitor->trace(m_animation);
28 }
29
30 private:
31 Member<Animation> m_animation;
32 };
33
34 } // namespace blink
35
36 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698