| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 05c3bcc93eca5df31894d4ea2df99eb154cc043a..d1b21ccc63051061390f119f5953d2460f8f1512 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -193,6 +193,12 @@ class COMPOSITOR_EXPORT Compositor
|
|
|
| ui::ContextFactory* context_factory() { return context_factory_; }
|
|
|
| + void AddSurfaceClient(uint32_t client_id);
|
| + void RemoveSurfaceClient(uint32_t client_id);
|
| + const std::unordered_map<uint32_t, uint32_t>& SurfaceClientsForTesting() {
|
| + return surface_clients_;
|
| + }
|
| +
|
| void SetOutputSurface(std::unique_ptr<cc::OutputSurface> surface);
|
|
|
| // Schedules a redraw of the layer tree associated with this compositor.
|
| @@ -374,6 +380,7 @@ class COMPOSITOR_EXPORT Compositor
|
| base::ObserverList<CompositorAnimationObserver> animation_observer_list_;
|
|
|
| gfx::AcceleratedWidget widget_;
|
| + std::unordered_map<uint32_t, uint32_t> surface_clients_;
|
| bool widget_valid_;
|
| bool output_surface_requested_;
|
| std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
|
|
|