OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_REFERENCE_OWNER_H_ |
| 6 #define CC_SURFACES_SURFACE_REFERENCE_OWNER_H_ |
| 7 |
| 8 #include "cc/surfaces/surface_sequence_generator.h" |
| 9 |
| 10 namespace cc { |
| 11 |
| 12 // Implementations of this interface can be passed to |
| 13 // SurfaceReferenceFactory::CreateReference as the reference owner. |
| 14 class SurfaceReferenceOwner { |
| 15 public: |
| 16 virtual SurfaceSequenceGenerator* GetSurfaceSequenceGenerator() = 0; |
| 17 }; |
| 18 |
| 19 } // namespace cc |
| 20 |
| 21 #endif // CC_SURFACES_SURFACE_REFERENCE_OWNER_H_ |
OLD | NEW |