| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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 CC_SURFACES_SURFACE_FACTORY_CLIENT_H_ | |
| 6 #define CC_SURFACES_SURFACE_FACTORY_CLIENT_H_ | |
| 7 | |
| 8 #include "cc/resources/returned_resource.h" | |
| 9 #include "cc/surfaces/local_surface_id.h" | |
| 10 #include "cc/surfaces/surfaces_export.h" | |
| 11 #include "ui/gfx/geometry/rect.h" | |
| 12 | |
| 13 namespace cc { | |
| 14 | |
| 15 class SurfaceId; | |
| 16 | |
| 17 class CC_SURFACES_EXPORT SurfaceFactoryClient { | |
| 18 public: | |
| 19 virtual ~SurfaceFactoryClient() = default; | |
| 20 | |
| 21 virtual void ReferencedSurfacesChanged( | |
| 22 const LocalSurfaceId& local_surface_id, | |
| 23 const std::vector<SurfaceId>* active_referenced_surfaces) = 0; | |
| 24 }; | |
| 25 | |
| 26 } // namespace cc | |
| 27 | |
| 28 #endif // CC_SURFACES_SURFACE_FACTORY_CLIENT_H_ | |
| OLD | NEW |