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

Unified Diff: cc/surfaces/surface_aggregator_client.h

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Cleanup 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
« no previous file with comments | « cc/surfaces/surface_aggregator.cc ('k') | cc/surfaces/surface_aggregator_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_aggregator_client.h
diff --git a/cc/surfaces/surface_aggregator_client.h b/cc/surfaces/surface_aggregator_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..26804dc1917d3231bff3ccb5c73be418195c38a6
--- /dev/null
+++ b/cc/surfaces/surface_aggregator_client.h
@@ -0,0 +1,23 @@
+// 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_AGGREGATOR_CLIENT_H_
+#define CC_SURFACES_SURFACE_AGGREGATOR_CLIENT_H_
+
+#include "cc/surfaces/local_surface_id.h"
+#include "cc/surfaces/surfaces_export.h"
+#include "ui/gfx/geometry/rect.h"
+
+namespace cc {
+
+class CC_SURFACES_EXPORT SurfaceAggregatorClient {
+ public:
+ virtual ~SurfaceAggregatorClient() {}
+
+ virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
Fady Samuel 2017/04/18 20:13:51 Describe when this is called.
Alex Z. 2017/04/18 20:24:55 Done.
+ const gfx::Rect& damage_rect) = 0;
+};
+
+} // namespace cc
+
+#endif // CC_SURFACES_SURFACE_AGGREGATOR_CLIENT_H_
« no previous file with comments | « cc/surfaces/surface_aggregator.cc ('k') | cc/surfaces/surface_aggregator_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698