| Index: content/child/child_native_pixmap_manager_ozone.h
|
| diff --git a/content/child/child_native_pixmap_manager_ozone.h b/content/child/child_native_pixmap_manager_ozone.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4b80d0507342441a89ebd38cbe13bb2d2b55db70
|
| --- /dev/null
|
| +++ b/content/child/child_native_pixmap_manager_ozone.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 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 CONTENT_CHILD_CHILD_NATIVE_PIXMAP_MANAGER_OZONE_H_
|
| +#define CONTENT_CHILD_CHILD_NATIVE_PIXMAP_MANAGER_OZONE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "content/child/thread_safe_sender.h"
|
| +#include "ui/ozone/public/native_pixmap_manager.h"
|
| +
|
| +namespace content {
|
| +
|
| +class ChildNativePixmapManager : public ui::NativePixmapManager {
|
| + public:
|
| + static ChildNativePixmapManager* CreateSingleton(ThreadSafeSender* sender);
|
| + ~ChildNativePixmapManager() override;
|
| +
|
| + // ui::NativePixmapManager:
|
| + void Initialize(const base::FileDescriptor& device_fd) override;
|
| + std::vector<Configuration> GetSupportedNativePixmapConfigurations()
|
| + const override;
|
| +
|
| + private:
|
| + ChildNativePixmapManager();
|
| +
|
| + scoped_ptr<ui::NativePixmapManager> pixmap_manager_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ChildNativePixmapManager);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_CHILD_CHILD_NATIVE_PIXMAP_MANAGER_OZONE_H_
|
|
|