| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/views/mus/surface_context_factory.h" | 5 #include "ui/views/mus/surface_context_factory.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "cc/output/output_surface.h" | 8 #include "cc/output/output_surface.h" |
| 9 #include "cc/resources/shared_bitmap_manager.h" | 9 #include "cc/resources/shared_bitmap_manager.h" |
| 10 #include "cc/surfaces/surface_id_allocator.h" | 10 #include "cc/surfaces/surface_id_allocator.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 cc::TaskGraphRunner* SurfaceContextFactory::GetTaskGraphRunner() { | 86 cc::TaskGraphRunner* SurfaceContextFactory::GetTaskGraphRunner() { |
| 87 return raster_thread_helper_.task_graph_runner(); | 87 return raster_thread_helper_.task_graph_runner(); |
| 88 } | 88 } |
| 89 | 89 |
| 90 std::unique_ptr<cc::SurfaceIdAllocator> | 90 std::unique_ptr<cc::SurfaceIdAllocator> |
| 91 SurfaceContextFactory::CreateSurfaceIdAllocator() { | 91 SurfaceContextFactory::CreateSurfaceIdAllocator() { |
| 92 return base::WrapUnique( | 92 return base::WrapUnique( |
| 93 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); | 93 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); |
| 94 } | 94 } |
| 95 | 95 |
| 96 cc::SurfaceManager* SurfaceContextFactory::GetSurfaceManager() { |
| 97 // NOTIMPLEMENTED(); |
| 98 return nullptr; |
| 99 } |
| 100 |
| 96 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, | 101 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, |
| 97 const gfx::Size& size) { | 102 const gfx::Size& size) { |
| 98 // NOTIMPLEMENTED(); | 103 // NOTIMPLEMENTED(); |
| 99 } | 104 } |
| 100 | 105 |
| 101 } // namespace views | 106 } // namespace views |
| OLD | NEW |