Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 CompositorProxyClientImpl_h | |
| 6 #define CompositorProxyClientImpl_h | |
| 7 | |
| 8 #include "core/dom/CompositorProxyClient.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class CompositorProxyClientImpl | |
|
sof
2017/03/29 10:24:08
Could you add some documentation describing where
keishi
2017/03/30 08:34:14
Done.
| |
| 13 : public GarbageCollectedFinalized<CompositorProxyClientImpl>, | |
| 14 public CompositorProxyClient { | |
| 15 USING_GARBAGE_COLLECTED_MIXIN(CompositorProxyClientImpl); | |
| 16 | |
| 17 public: | |
| 18 DECLARE_TRACE(); | |
| 19 | |
| 20 // CompositorProxyClient: | |
| 21 void registerCompositorProxy(CompositorProxy*) override; | |
| 22 void unregisterCompositorProxy(CompositorProxy*) override; | |
| 23 | |
| 24 HeapHashSet<WeakMember<CompositorProxy>>& proxies() { return m_proxies; } | |
| 25 | |
| 26 private: | |
| 27 HeapHashSet<WeakMember<CompositorProxy>> m_proxies; | |
| 28 }; | |
| 29 | |
| 30 } // namespace blink | |
| 31 | |
| 32 #endif // CompositorProxyClientImpl_h | |
| OLD | NEW |