OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
kylechar
2016/12/08 02:02:45
2016
| |
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_DIRECT_SURFACE_EMBEDDING_H_ | |
6 #define CC_SURFACES_DIRECT_SURFACE_EMBEDDING_H_ | |
7 | |
8 #include "cc/surfaces/surface_embedding.h" | |
9 #include "cc/surfaces/surface_manager.h" | |
10 | |
11 namespace cc { | |
12 | |
13 class CC_SURFACES_EXPORT DirectSurfaceEmbedding final | |
14 : public NON_EXPORTED_BASE(SurfaceEmbeddingUsingSequence) { | |
kylechar
2016/12/08 02:02:45
SurfaceEmbeddingUsingSequence is exported though?
| |
15 public: | |
16 DirectSurfaceEmbedding(const SurfaceInfo& info, SurfaceManager* manager) | |
17 : SurfaceEmbeddingUsingSequence(info), manager_(manager) {} | |
18 | |
19 private: | |
20 SurfaceEmbedding* CloneImpl() override; | |
21 void SatisfySequence(const SurfaceSequence&) override; | |
kylechar
2016/12/08 02:02:45
const SurfafeSequence& sequence
| |
22 void RequireSequence(const SurfaceSequence&) override; | |
23 | |
24 SurfaceManager* manager_ = nullptr; | |
25 }; | |
kylechar
2016/12/08 02:02:45
Should this be copyable?
| |
26 | |
27 } // namespace cc | |
28 | |
29 #endif // CC_SURFACES_DIRECT_SURFACE_EMBEDDING_H_ | |
OLD | NEW |