| 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/resources/shared_bitmap_manager.h" | 8 #include "cc/resources/shared_bitmap_manager.h" |
| 9 #include "cc/surfaces/surface_id_allocator.h" | 9 #include "cc/surfaces/surface_id_allocator.h" |
| 10 #include "services/ui/public/cpp/context_provider.h" | 10 #include "services/ui/public/cpp/context_provider.h" |
| 11 #include "services/ui/public/cpp/gpu_service.h" | 11 #include "services/ui/public/cpp/gpu/gpu_service.h" |
| 12 #include "services/ui/public/cpp/window.h" | 12 #include "services/ui/public/cpp/window.h" |
| 13 #include "services/ui/public/cpp/window_compositor_frame_sink.h" | 13 #include "services/ui/public/cpp/window_compositor_frame_sink.h" |
| 14 #include "ui/compositor/reflector.h" | 14 #include "ui/compositor/reflector.h" |
| 15 #include "ui/gl/gl_bindings.h" | 15 #include "ui/gl/gl_bindings.h" |
| 16 #include "ui/views/mus/native_widget_mus.h" | 16 #include "ui/views/mus/native_widget_mus.h" |
| 17 | 17 |
| 18 namespace views { | 18 namespace views { |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 class FakeReflector : public ui::Reflector { | 21 class FakeReflector : public ui::Reflector { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 bool visible) { | 99 bool visible) { |
| 100 // TODO(fsamuel): display[compositor]->SetVisible(visible); | 100 // TODO(fsamuel): display[compositor]->SetVisible(visible); |
| 101 } | 101 } |
| 102 | 102 |
| 103 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, | 103 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, |
| 104 const gfx::Size& size) { | 104 const gfx::Size& size) { |
| 105 // TODO(fsamuel): display[compositor]->Resize(size); | 105 // TODO(fsamuel): display[compositor]->Resize(size); |
| 106 } | 106 } |
| 107 | 107 |
| 108 } // namespace views | 108 } // namespace views |
| OLD | NEW |