| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/aura/surface_context_factory.h" | 5 #include "mojo/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 "mojo/public/interfaces/application/shell.mojom.h" | 10 #include "mojo/public/interfaces/application/shell.mojom.h" |
| 10 #include "mojo/services/public/cpp/view_manager/view.h" | 11 #include "mojo/services/public/cpp/view_manager/view.h" |
| 11 #include "ui/compositor/reflector.h" | 12 #include "ui/compositor/reflector.h" |
| 12 | 13 |
| 13 namespace mojo { | 14 namespace mojo { |
| 14 | 15 |
| 15 SurfaceContextFactory::SurfaceContextFactory(Shell* shell, View* view) | 16 SurfaceContextFactory::SurfaceContextFactory(Shell* shell, View* view) |
| 16 : surface_binding_(shell, view) { | 17 : surface_binding_(shell, view) { |
| 17 } | 18 } |
| 18 | 19 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 48 } | 49 } |
| 49 | 50 |
| 50 cc::SharedBitmapManager* SurfaceContextFactory::GetSharedBitmapManager() { | 51 cc::SharedBitmapManager* SurfaceContextFactory::GetSharedBitmapManager() { |
| 51 return nullptr; | 52 return nullptr; |
| 52 } | 53 } |
| 53 | 54 |
| 54 base::MessageLoopProxy* SurfaceContextFactory::GetCompositorMessageLoop() { | 55 base::MessageLoopProxy* SurfaceContextFactory::GetCompositorMessageLoop() { |
| 55 return nullptr; | 56 return nullptr; |
| 56 } | 57 } |
| 57 | 58 |
| 59 scoped_ptr<cc::SurfaceIdAllocator> |
| 60 SurfaceContextFactory::CreateSurfaceIdAllocator() { |
| 61 return nullptr; |
| 62 } |
| 63 |
| 58 } // namespace mojo | 64 } // namespace mojo |
| OLD | NEW |