Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: cc/surfaces/direct_surface_embedding.h

Issue 2514033002: Introducing SurfaceReferenceFactory (Closed)
Patch Set: x Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698