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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 uint32_t SurfaceContextFactory::AllocateSurfaceClientId() { | 91 uint32_t SurfaceContextFactory::AllocateSurfaceClientId() { |
92 return next_surface_id_namespace_++; | 92 return next_surface_id_namespace_++; |
93 } | 93 } |
94 | 94 |
95 cc::SurfaceManager* SurfaceContextFactory::GetSurfaceManager() { | 95 cc::SurfaceManager* SurfaceContextFactory::GetSurfaceManager() { |
96 // NOTIMPLEMENTED(); | 96 // NOTIMPLEMENTED(); |
97 return nullptr; | 97 return nullptr; |
98 } | 98 } |
99 | 99 |
| 100 void SurfaceContextFactory::SetDisplayVisible(ui::Compositor* compositor, |
| 101 bool visible) { |
| 102 // TODO(fsamuel): display[compositor]->SetVisible(visible); |
| 103 } |
| 104 |
100 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, | 105 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, |
101 const gfx::Size& size) { | 106 const gfx::Size& size) { |
102 // NOTIMPLEMENTED(); | 107 // TODO(fsamuel): display[compositor]->Resize(size); |
103 } | 108 } |
104 | 109 |
105 } // namespace views | 110 } // namespace views |
OLD | NEW |