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_AGGREGATOR_CLIENT_H_ | |
| 5 #define CC_SURFACES_SURFACE_AGGREGATOR_CLIENT_H_ | |
| 6 | |
| 7 #include "cc/surfaces/local_surface_id.h" | |
| 8 #include "cc/surfaces/surfaces_export.h" | |
| 9 #include "ui/gfx/geometry/rect.h" | |
| 10 | |
| 11 namespace cc { | |
| 12 | |
| 13 class CC_SURFACES_EXPORT SurfaceAggregatorClient { | |
| 14 public: | |
| 15 virtual ~SurfaceAggregatorClient() {} | |
| 16 | |
| 17 virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id, | |
|
Fady Samuel
2017/04/18 20:13:51
Describe when this is called.
Alex Z.
2017/04/18 20:24:55
Done.
| |
| 18 const gfx::Rect& damage_rect) = 0; | |
| 19 }; | |
| 20 | |
| 21 } // namespace cc | |
| 22 | |
| 23 #endif // CC_SURFACES_SURFACE_AGGREGATOR_CLIENT_H_ | |
| OLD | NEW |