| Index: services/ui/surfaces/display_compositor_factory_delegate.h
|
| diff --git a/services/ui/surfaces/display_compositor_factory_delegate.h b/services/ui/surfaces/display_compositor_factory_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..90b33964bb1e5ae23b9dd875b1713bd5111f950e
|
| --- /dev/null
|
| +++ b/services/ui/surfaces/display_compositor_factory_delegate.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FACTORY_DELEGATE_H_
|
| +#define SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FACTORY_DELEGATE_H_
|
| +
|
| +namespace gpu {
|
| +class GpuMemoryBufferManager;
|
| +}
|
| +
|
| +namespace ui {
|
| +
|
| +class DisplayCompositorFactoryDelegate {
|
| + public:
|
| + virtual std::unique_ptr<gpu::GpuMemoryBufferManager>
|
| + CreateGpuMemoryBufferManager() = 0;
|
| +
|
| + protected:
|
| + ~DisplayCompositorFactoryDelegate() {}
|
| +};
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FACTORY_DELEGATE_H_
|
|
|