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 "cc/output/output_surface.h" | 7 #include "cc/output/output_surface.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 "components/mus/public/cpp/window.h" | 10 #include "components/mus/public/cpp/window.h" |
11 #include "mojo/shell/public/interfaces/connector.mojom.h" | 11 #include "services/shell/public/interfaces/connector.mojom.h" |
12 #include "ui/compositor/reflector.h" | 12 #include "ui/compositor/reflector.h" |
13 #include "ui/gl/gl_bindings.h" | 13 #include "ui/gl/gl_bindings.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 namespace { | 16 namespace { |
17 | 17 |
18 class FakeReflector : public ui::Reflector { | 18 class FakeReflector : public ui::Reflector { |
19 public: | 19 public: |
20 FakeReflector() {} | 20 FakeReflector() {} |
21 ~FakeReflector() override {} | 21 ~FakeReflector() override {} |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 return make_scoped_ptr( | 91 return make_scoped_ptr( |
92 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); | 92 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); |
93 } | 93 } |
94 | 94 |
95 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, | 95 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, |
96 const gfx::Size& size) { | 96 const gfx::Size& size) { |
97 // NOTIMPLEMENTED(); | 97 // NOTIMPLEMENTED(); |
98 } | 98 } |
99 | 99 |
100 } // namespace views | 100 } // namespace views |
OLD | NEW |