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

Unified Diff: cc/surfaces/surface_aggregator.h

Issue 1673783004: Hook up BeginFrameSource to SurfaceFactoryClient via SurfaceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register id namespace on Android Created 4 years, 9 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.cc ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_aggregator.h
diff --git a/cc/surfaces/surface_aggregator.h b/cc/surfaces/surface_aggregator.h
index c18da1b0fdbe02d5d85a01aebfc6d563df401afd..9360ed9ec859c559e9550511315c37c232dc0d6b 100644
--- a/cc/surfaces/surface_aggregator.h
+++ b/cc/surfaces/surface_aggregator.h
@@ -27,20 +27,11 @@ class Surface;
class SurfaceDrawQuad;
class SurfaceManager;
-class CC_SURFACES_EXPORT SurfaceAggregatorClient {
- public:
- virtual ~SurfaceAggregatorClient() {}
-
- virtual void AddSurface(Surface* surface) = 0;
- virtual void RemoveSurface(Surface* surface) = 0;
-};
-
class CC_SURFACES_EXPORT SurfaceAggregator {
public:
using SurfaceIndexMap = std::unordered_map<SurfaceId, int, SurfaceIdHash>;
- SurfaceAggregator(SurfaceAggregatorClient* client,
- SurfaceManager* manager,
+ SurfaceAggregator(SurfaceManager* manager,
ResourceProvider* provider,
bool aggregate_only_damaged);
~SurfaceAggregator();
@@ -109,7 +100,6 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
const RenderPass& source,
const gfx::Rect& full_rect) const;
- SurfaceAggregatorClient* client_; // Outlives this class.
SurfaceManager* manager_;
ResourceProvider* provider_;
« no previous file with comments | « cc/surfaces/surface.cc ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698