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

Unified Diff: cc/surfaces/surface_resource_holder_client.h

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: cc/surfaces/surface_resource_holder_client.h
diff --git a/cc/surfaces/surface_resource_holder_client.h b/cc/surfaces/surface_resource_holder_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..8ac894dd9357e854c2b16ff7a077312579ab341c
--- /dev/null
+++ b/cc/surfaces/surface_resource_holder_client.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#ifndef CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_
+#define CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_
+
+#include "cc/resources/returned_resource.h"
+#include "cc/surfaces/surfaces_export.h"
+
+namespace cc {
+
+class CC_SURFACES_EXPORT SurfaceResourceHolderClient {
+ public:
+ virtual ~SurfaceResourceHolderClient() = default;
+
+ virtual void ReturnResources(const ReturnedResourceArray& resources) = 0;
danakj 2017/04/21 15:06:48 Document when this is called/what it should do.
Alex Z. 2017/04/21 18:14:36 Done.
+};
+
+} // namespace cc
+
+#endif // CC_SURFACES_SURFACE_RESOURCE_HOLDER_CLIENT_H_
« cc/surfaces/surface_factory_unittest.cc ('K') | « cc/surfaces/surface_resource_holder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698