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

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

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Rebase Created 3 years, 6 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 2017 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 WorkletAnimationBase_h
6 #define WorkletAnimationBase_h
7
8 #include "core/CoreExport.h"
9 #include "platform/heap/GarbageCollected.h"
10
11 namespace blink {
12
13 class CORE_EXPORT WorkletAnimationBase
alancutter (OOO until 2018) 2017/06/26 11:57:01 No need for this base class, let's not have it.
smcgruer 2017/06/26 21:14:08 I believe it is required; core/ can't depend on mo
alancutter (OOO until 2018) 2017/06/27 00:15:52 Oops, I missed the part where it lives in modules.
14 : public GarbageCollectedFinalized<WorkletAnimationBase> {
15 public:
16 virtual ~WorkletAnimationBase() {}
17
18 // Attempts to start the animation on the compositor side. Once this has
19 // returned true, it should not be called again.
20 virtual bool StartOnCompositor() = 0;
21
22 DEFINE_INLINE_VIRTUAL_TRACE() {}
23 };
24
25 } // namespace blink
26
27 #endif // WorkletAnimationBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698