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

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

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Address Nits Created 3 years, 8 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/surfaces/surface_resource_holder.cc ('k') | cc/test/fake_surface_resource_holder_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_RESOURCE_HOLDER_CLIENT_H_
5 #define CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_
6
7 #include "cc/resources/returned_resource.h"
8 #include "cc/surfaces/surfaces_export.h"
9
10 namespace cc {
11
12 class CC_SURFACES_EXPORT SurfaceResourceHolderClient {
13 public:
14 virtual ~SurfaceResourceHolderClient() = default;
15
16 // ReturnResources gets called when the display compositor is done using the
17 // resources so that the client can use them.
18 virtual void ReturnResources(const ReturnedResourceArray& resources) = 0;
19 };
20
21 } // namespace cc
22
23 #endif // CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/surfaces/surface_resource_holder.cc ('k') | cc/test/fake_surface_resource_holder_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698