Index: ui/views/mus/surface_context_factory.cc |
diff --git a/ui/views/mus/surface_context_factory.cc b/ui/views/mus/surface_context_factory.cc |
index 54b9f124a3abdb672858932836d168e2e6f82633..4b55ac1ed06b34bf4a7f4340616ec67d03c0c356 100644 |
--- a/ui/views/mus/surface_context_factory.cc |
+++ b/ui/views/mus/surface_context_factory.cc |
@@ -16,21 +16,8 @@ |
#include "ui/views/mus/native_widget_mus.h" |
namespace views { |
-namespace { |
-class FakeReflector : public ui::Reflector { |
- public: |
- FakeReflector() {} |
- ~FakeReflector() override {} |
- void OnMirroringCompositorResized() override {} |
- void AddMirroringLayer(ui::Layer* layer) override {} |
- void RemoveMirroringLayer(ui::Layer* layer) override {} |
-}; |
- |
-} // namespace |
- |
-SurfaceContextFactory::SurfaceContextFactory(ui::Gpu* gpu) |
- : next_sink_id_(1u), gpu_(gpu) {} |
+SurfaceContextFactory::SurfaceContextFactory(ui::Gpu* gpu) : gpu_(gpu) {} |
SurfaceContextFactory::~SurfaceContextFactory() {} |
@@ -47,17 +34,6 @@ void SurfaceContextFactory::CreateCompositorFrameSink( |
compositor->SetCompositorFrameSink(std::move(compositor_frame_sink)); |
} |
-std::unique_ptr<ui::Reflector> SurfaceContextFactory::CreateReflector( |
- ui::Compositor* mirroed_compositor, |
- ui::Layer* mirroring_layer) { |
- // NOTIMPLEMENTED(); |
- return base::WrapUnique(new FakeReflector); |
-} |
- |
-void SurfaceContextFactory::RemoveReflector(ui::Reflector* reflector) { |
- // NOTIMPLEMENTED(); |
-} |
- |
scoped_refptr<cc::ContextProvider> |
SurfaceContextFactory::SharedMainThreadContextProvider() { |
// NOTIMPLEMENTED(); |
@@ -87,22 +63,4 @@ cc::TaskGraphRunner* SurfaceContextFactory::GetTaskGraphRunner() { |
return raster_thread_helper_.task_graph_runner(); |
} |
-cc::FrameSinkId SurfaceContextFactory::AllocateFrameSinkId() { |
- return cc::FrameSinkId(0, next_sink_id_++); |
-} |
- |
-cc::SurfaceManager* SurfaceContextFactory::GetSurfaceManager() { |
- return &surface_manager_; |
-} |
- |
-void SurfaceContextFactory::SetDisplayVisible(ui::Compositor* compositor, |
- bool visible) { |
- // TODO(fsamuel): display[compositor]->SetVisible(visible); |
-} |
- |
-void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, |
- const gfx::Size& size) { |
- // TODO(fsamuel): display[compositor]->Resize(size); |
-} |
- |
} // namespace views |