| 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 21cb1db8ad00e5f380b5345e4825b3cf5bfde475..82d326f6f80976e03ac187fc831337ae7bf84813 100644
|
| --- a/ui/views/mus/surface_context_factory.cc
|
| +++ b/ui/views/mus/surface_context_factory.cc
|
| @@ -16,21 +16,9 @@
|
| #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::GpuService* gpu_service)
|
| - : next_sink_id_(1u), gpu_service_(gpu_service) {}
|
| + : gpu_service_(gpu_service) {}
|
|
|
| SurfaceContextFactory::~SurfaceContextFactory() {}
|
|
|
| @@ -47,17 +35,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 +64,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
|
|
|