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

Unified Diff: components/viz/frame_sinks/mojo_frame_sink_manager.h

Issue 2811083002: Move frame eviction into components (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
« no previous file with comments | « components/viz/frame_sinks/frame_evictor.cc ('k') | components/viz/frame_sinks/viz_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/frame_sinks/mojo_frame_sink_manager.h
diff --git a/components/viz/frame_sinks/mojo_frame_sink_manager.h b/components/viz/frame_sinks/mojo_frame_sink_manager.h
index 53785d95dee2b13f3ed95b0d3da29c4e09d9b856..5a9d461787b209f262c9e57703150e9fb8a03f92 100644
--- a/components/viz/frame_sinks/mojo_frame_sink_manager.h
+++ b/components/viz/frame_sinks/mojo_frame_sink_manager.h
@@ -17,6 +17,7 @@
#include "cc/surfaces/surface_manager.h"
#include "cc/surfaces/surface_observer.h"
#include "components/viz/frame_sinks/gpu_compositor_frame_sink_delegate.h"
+#include "components/viz/frame_sinks/viz_export.h"
#include "gpu/ipc/common/surface_handle.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -32,9 +33,10 @@ class DisplayProvider;
// will be true after the mus process split. For non-mus Chrome this will be
// created in the browser process, at least until GPU implementations can be
// unified.
-class MojoFrameSinkManager : public cc::SurfaceObserver,
- public GpuCompositorFrameSinkDelegate,
- public cc::mojom::FrameSinkManager {
+class VIZ_EXPORT MojoFrameSinkManager
+ : public cc::SurfaceObserver,
+ public NON_EXPORTED_BASE(GpuCompositorFrameSinkDelegate),
+ public NON_EXPORTED_BASE(cc::mojom::FrameSinkManager) {
public:
MojoFrameSinkManager(bool use_surface_references,
DisplayProvider* display_provider,
« no previous file with comments | « components/viz/frame_sinks/frame_evictor.cc ('k') | components/viz/frame_sinks/viz_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698