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 "mandoline/ui/aura/surface_context_factory.h" | 5 #include "mandoline/ui/aura/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/view_manager/public/cpp/view.h" | 10 #include "components/view_manager/public/cpp/view.h" |
11 #include "mojo/public/interfaces/application/shell.mojom.h" | 11 #include "mojo/application/public/interfaces/shell.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 mandoline { | 15 namespace mandoline { |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 return make_scoped_ptr( | 92 return make_scoped_ptr( |
93 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); | 93 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); |
94 } | 94 } |
95 | 95 |
96 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, | 96 void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor, |
97 const gfx::Size& size) { | 97 const gfx::Size& size) { |
98 NOTIMPLEMENTED(); | 98 NOTIMPLEMENTED(); |
99 } | 99 } |
100 | 100 |
101 } // namespace mandoline | 101 } // namespace mandoline |
OLD | NEW |