Chromium Code Reviews| Index: third_party/WebKit/Source/web/CompositorProxyClientImpl.h |
| diff --git a/third_party/WebKit/Source/web/CompositorProxyClientImpl.h b/third_party/WebKit/Source/web/CompositorProxyClientImpl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1c7697589894b9db98d03ad8424dfdfe8544d7b6 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/web/CompositorProxyClientImpl.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2017 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 CompositorProxyClientImpl_h |
| +#define CompositorProxyClientImpl_h |
| + |
| +#include "core/dom/CompositorProxyClient.h" |
| + |
| +namespace blink { |
| + |
| +class CompositorProxyClientImpl |
|
sof
2017/03/29 10:24:08
Could you add some documentation describing where
keishi
2017/03/30 08:34:14
Done.
|
| + : public GarbageCollectedFinalized<CompositorProxyClientImpl>, |
| + public CompositorProxyClient { |
| + USING_GARBAGE_COLLECTED_MIXIN(CompositorProxyClientImpl); |
| + |
| + public: |
| + DECLARE_TRACE(); |
| + |
| + // CompositorProxyClient: |
| + void registerCompositorProxy(CompositorProxy*) override; |
| + void unregisterCompositorProxy(CompositorProxy*) override; |
| + |
| + HeapHashSet<WeakMember<CompositorProxy>>& proxies() { return m_proxies; } |
| + |
| + private: |
| + HeapHashSet<WeakMember<CompositorProxy>> m_proxies; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // CompositorProxyClientImpl_h |