Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/CompositorMutator.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutator.h b/third_party/WebKit/Source/platform/graphics/CompositorMutator.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..df4c21af5bf9a1711d4eec22be8048fa518b2dfc |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorMutator.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CompositorMutator_h |
| +#define CompositorMutator_h |
| + |
| +#include "platform/heap/Handle.h" |
| +#include "wtf/RefCounted.h" |
| + |
| +namespace blink { |
| + |
| +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
|
| +public: |
| + virtual ~CompositorMutator() {} |
| + |
| + DEFINE_INLINE_VIRTUAL_TRACE() {} |
| + |
| + // 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.
|
| + virtual bool mutate(double monotonicTimeNow) = 0; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // CompositorMutator_h |