| 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 #ifndef MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ | 5 #ifndef MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ |
| 6 #define MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ | 6 #define MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ |
| 7 | 7 |
| 8 #include "mandoline/ui/aura/surface_binding.h" | 8 #include "mandoline/ui/aura/surface_binding.h" |
| 9 #include "ui/compositor/compositor.h" | 9 #include "ui/compositor/compositor.h" |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 bool DoesCreateTestContexts() override; | 32 bool DoesCreateTestContexts() override; |
| 33 uint32 GetImageTextureTarget() override; | 33 uint32 GetImageTextureTarget() override; |
| 34 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 34 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
| 35 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 35 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 36 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 36 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
| 37 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; | 37 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; |
| 38 void ResizeDisplay(ui::Compositor* compositor, | 38 void ResizeDisplay(ui::Compositor* compositor, |
| 39 const gfx::Size& size) override; | 39 const gfx::Size& size) override; |
| 40 | 40 |
| 41 SurfaceBinding surface_binding_; | 41 SurfaceBinding surface_binding_; |
| 42 uint32_t next_surface_id_namespace_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); | 44 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace mandoline | 47 } // namespace mandoline |
| 47 | 48 |
| 48 #endif // MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ | 49 #endif // MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ |
| OLD | NEW |