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

Unified Diff: cc/surfaces/surface_factory_client.h

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Address Nit 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_factory_client.h
diff --git a/cc/surfaces/surface_factory_client.h b/cc/surfaces/surface_factory_client.h
index 57ecfed1104c32b475f0d5bc2e19b6b927e5c462..17aad3d9782d15da88008a4fba6c20cd34405a7f 100644
--- a/cc/surfaces/surface_factory_client.h
+++ b/cc/surfaces/surface_factory_client.h
@@ -12,7 +12,6 @@
namespace cc {
-class BeginFrameSource;
class SurfaceId;
class CC_SURFACES_EXPORT SurfaceFactoryClient {
@@ -21,15 +20,7 @@ class CC_SURFACES_EXPORT SurfaceFactoryClient {
virtual void ReferencedSurfacesChanged(
const LocalSurfaceId& local_surface_id,
- const std::vector<SurfaceId>* active_referenced_surfaces) {}
-
- virtual void ReturnResources(const ReturnedResourceArray& resources) = 0;
-
- virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
- const gfx::Rect& damage_rect) {}
-
- // This allows the SurfaceFactory to pass a BeginFrameSource to use.
- virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0;
+ const std::vector<SurfaceId>* active_referenced_surfaces) = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698