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 #ifndef CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_ | |
| 5 #define CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_ | |
| 6 | |
| 7 #include "cc/resources/returned_resource.h" | |
| 8 #include "cc/surfaces/surfaces_export.h" | |
| 9 | |
| 10 namespace cc { | |
| 11 | |
| 12 class CC_SURFACES_EXPORT SurfaceResourceHolderClient { | |
| 13 public: | |
| 14 virtual ~SurfaceResourceHolderClient() = default; | |
| 15 | |
| 16 virtual void ReturnResources(const ReturnedResourceArray& resources) = 0; | |
|
danakj
2017/04/21 15:06:48
Document when this is called/what it should do.
Alex Z.
2017/04/21 18:14:36
Done.
| |
| 17 }; | |
| 18 | |
| 19 } // namespace cc | |
| 20 | |
| 21 #endif // CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_ | |
| OLD | NEW |