| Index: ui/ozone/public/surface_client_factory_ozone.h
|
| diff --git a/ui/ozone/public/surface_client_factory_ozone.h b/ui/ozone/public/surface_client_factory_ozone.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3cbb0d37a92c52aad7b78962f7680b48c27828de
|
| --- /dev/null
|
| +++ b/ui/ozone/public/surface_client_factory_ozone.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright (c) 2015 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 UI_OZONE_PUBLIC_SURFACE_CLIENT_FACTORY_OZONE_H_
|
| +#define UI_OZONE_PUBLIC_SURFACE_CLIENT_FACTORY_OZONE_H_
|
| +
|
| +#include "ui/ozone/public/surface_factory_ozone.h"
|
| +
|
| +namespace ui {
|
| +
|
| +// The Ozone interface allows external implementations to hook into Chromium to
|
| +// provide the handle of a system specific surface implementation for Browser
|
| +// and Render process.
|
| +class OZONE_BASE_EXPORT SurfaceClientFactoryOzone {
|
| + public:
|
| + SurfaceClientFactoryOzone();
|
| + virtual ~SurfaceClientFactoryOzone();
|
| +
|
| + struct Configuration {
|
| + SurfaceFactoryOzone::BufferFormat format;
|
| + SurfaceFactoryOzone::BufferUsage usage;
|
| + };
|
| +
|
| + // Gets supported format/usage configurations.
|
| + virtual std::vector<Configuration> GetSupportedNativePixmapConfigurations()
|
| + const;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(SurfaceClientFactoryOzone);
|
| +};
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // UI_OZONE_PUBLIC_SURFACE_CLIENT_FACTORY_OZONE_H_
|
|
|