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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2654653004: Remove SurfaceReferenceManager interface. (Closed)
Patch Set: Rebase + fix tests. Created 3 years, 11 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_reference_manager.h ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index 938cfb0ac706461af83b548eb06f982703aca11a..db1af604d8cfd7ffddd18c0eb4c6def97f578c28 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -33,7 +33,6 @@ class ImageFactory;
namespace cc {
class Display;
-class SurfaceManager;
class SyntheticBeginFrameSource;
}
@@ -100,8 +99,6 @@ class DisplayCompositor
cc::mojom::MojoCompositorFrameSinkClientPtr client,
cc::mojom::DisplayPrivateRequest display_private_request);
- const cc::SurfaceId& GetRootSurfaceId() const;
-
// cc::SurfaceObserver implementation.
void OnSurfaceCreated(const cc::SurfaceInfo& surface_info) override;
void OnSurfaceDamaged(const cc::SurfaceId& surface_id,
@@ -112,10 +109,6 @@ class DisplayCompositor
// access to a valid pointer for the entirety of their liftimes.
cc::SurfaceManager manager_;
- // Will normally point to |manager_| as it provides the interface. For tests
- // it will be swapped out with a mock implementation.
- cc::SurfaceReferenceManager* reference_manager_;
-
scoped_refptr<gpu::InProcessCommandBuffer::Service> gpu_service_;
std::unique_ptr<gpu::GpuMemoryBufferManager> gpu_memory_buffer_manager_;
gpu::ImageFactory* image_factory_;
« no previous file with comments | « cc/surfaces/surface_reference_manager.h ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698