Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 CompositorMutator_h | |
| 6 #define CompositorMutator_h | |
| 7 | |
| 8 #include "platform/heap/Handle.h" | |
| 9 #include "wtf/RefCounted.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class CompositorMutator : public GarbageCollectedFinalized<CompositorMutator> { | |
|
jbroman
2016/04/29 19:42:22
If this is an interface (it seems to be), it shoul
flackr
2016/05/03 22:24:54
Done.
haraken
2016/05/09 01:37:05
Hmm, I don't fully understand this comment. What p
jbroman
2016/05/19 18:50:05
CompositorMutator is a pure virtual base class (i.
haraken
2016/05/19 23:55:51
Because GarbageCollectedMixin adds (some complicat
jbroman
2016/05/20 00:06:52
OK. I do see now that https://chromium.googlesourc
| |
| 14 public: | |
| 15 virtual ~CompositorMutator() {} | |
| 16 | |
| 17 DEFINE_INLINE_VIRTUAL_TRACE() {} | |
| 18 | |
| 19 // Called from compositor thread which does not participate in GC cycle | |
|
jbroman
2016/04/29 19:42:22
What does this comment mean? Also, a brief comment
flackr
2016/05/03 22:24:54
Sorry, this comment is way out of date, updated.
| |
| 20 virtual bool mutate(double monotonicTimeNow) = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace blink | |
| 24 | |
| 25 #endif // CompositorMutator_h | |
| OLD | NEW |