OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FACTORY_DELEGATE_H_ |
| 6 #define SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FACTORY_DELEGATE_H_ |
| 7 |
| 8 namespace gpu { |
| 9 class GpuMemoryBufferManager; |
| 10 } |
| 11 |
| 12 namespace ui { |
| 13 |
| 14 class DisplayCompositorFactoryDelegate { |
| 15 public: |
| 16 virtual std::unique_ptr<gpu::GpuMemoryBufferManager> |
| 17 CreateGpuMemoryBufferManager() = 0; |
| 18 |
| 19 protected: |
| 20 ~DisplayCompositorFactoryDelegate() {} |
| 21 }; |
| 22 |
| 23 } // namespace ui |
| 24 |
| 25 #endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FACTORY_DELEGATE_H_ |
OLD | NEW |