OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_MUS_STUB_CONTEXT_FACTORY_H_ | 5 #ifndef ASH_MUS_STUB_CONTEXT_FACTORY_H_ |
6 #define ASH_MUS_STUB_CONTEXT_FACTORY_H_ | 6 #define ASH_MUS_STUB_CONTEXT_FACTORY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 uint32_t GetImageTextureTarget(gfx::BufferFormat format, | 35 uint32_t GetImageTextureTarget(gfx::BufferFormat format, |
36 gfx::BufferUsage usage) override; | 36 gfx::BufferUsage usage) override; |
37 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 37 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
38 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 38 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
39 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 39 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
40 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; | 40 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; |
41 void ResizeDisplay(ui::Compositor* compositor, | 41 void ResizeDisplay(ui::Compositor* compositor, |
42 const gfx::Size& size) override; | 42 const gfx::Size& size) override; |
43 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, | 43 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, |
44 base::TimeDelta interval) override {} | 44 base::TimeDelta interval) override {} |
| 45 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} |
45 | 46 |
46 uint32_t next_surface_id_namespace_; | 47 uint32_t next_surface_id_namespace_; |
47 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; | 48 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(StubContextFactory); | 50 DISALLOW_COPY_AND_ASSIGN(StubContextFactory); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace sysui | 53 } // namespace sysui |
53 } // namespace ash | 54 } // namespace ash |
54 | 55 |
55 #endif // ASH_MUS_STUB_CONTEXT_FACTORY_H_ | 56 #endif // ASH_MUS_STUB_CONTEXT_FACTORY_H_ |
OLD | NEW |