| Index: ui/ozone/common/stub_native_pixmap_manager.cc
|
| diff --git a/ui/ozone/common/stub_native_pixmap_manager.cc b/ui/ozone/common/stub_native_pixmap_manager.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b2d56a4d6b26114cb17f4264fa46882ba9d37185
|
| --- /dev/null
|
| +++ b/ui/ozone/common/stub_native_pixmap_manager.cc
|
| @@ -0,0 +1,31 @@
|
| +// 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.
|
| +
|
| +#include "ui/ozone/common/stub_native_pixmap_manager.h"
|
| +
|
| +namespace ui {
|
| +
|
| +namespace {
|
| +
|
| +class StubNativePixmapManager : public NativePixmapManager {
|
| + public:
|
| + StubNativePixmapManager() {}
|
| + ~StubNativePixmapManager() override {}
|
| +
|
| + std::vector<Configuration> GetSupportedNativePixmapConfigurations()
|
| + const override {
|
| + return std::vector<Configuration>();
|
| + }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(StubNativePixmapManager);
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +NativePixmapManager* CreateStubNativePixmapManager() {
|
| + return new StubNativePixmapManager;
|
| +}
|
| +
|
| +} // namespace ui
|
|
|