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

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

Issue 2650303002: cc: Remove the LayerTreeHost abstraction. (Closed)
Patch Set: missed ui Created 3 years, 11 months 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
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_SURFACES_SURFACE_REFERENCE_OWNER_H_ 5 #ifndef CC_SURFACES_SURFACE_REFERENCE_OWNER_H_
6 #define CC_SURFACES_SURFACE_REFERENCE_OWNER_H_ 6 #define CC_SURFACES_SURFACE_REFERENCE_OWNER_H_
7 7
8 #include "cc/surfaces/surface_sequence_generator.h" 8 #include "cc/surfaces/surface_sequence_generator.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 // Implementations of this interface can be passed to 12 // Implementations of this interface can be passed to
13 // SurfaceReferenceFactory::CreateReference as the reference owner. 13 // SurfaceReferenceFactory::CreateReference as the reference owner.
14 class SurfaceReferenceOwner { 14 class SurfaceReferenceOwner {
15 public: 15 public:
16 virtual ~SurfaceReferenceOwner() {}
17
16 virtual SurfaceSequenceGenerator* GetSurfaceSequenceGenerator() = 0; 18 virtual SurfaceSequenceGenerator* GetSurfaceSequenceGenerator() = 0;
17 }; 19 };
18 20
19 } // namespace cc 21 } // namespace cc
20 22
21 #endif // CC_SURFACES_SURFACE_REFERENCE_OWNER_H_ 23 #endif // CC_SURFACES_SURFACE_REFERENCE_OWNER_H_
OLDNEW
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698