OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 #include "ui/ozone/common/stub_native_pixmap_manager.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 namespace { |
| 10 |
| 11 class StubNativePixmapManager : public NativePixmapManager { |
| 12 public: |
| 13 StubNativePixmapManager() {} |
| 14 ~StubNativePixmapManager() override {} |
| 15 |
| 16 std::vector<Configuration> GetSupportedNativePixmapConfigurations() |
| 17 const override { |
| 18 return std::vector<Configuration>(); |
| 19 } |
| 20 |
| 21 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(StubNativePixmapManager); |
| 23 }; |
| 24 |
| 25 } // namespace |
| 26 |
| 27 NativePixmapManager* CreateStubNativePixmapManager() { |
| 28 return new StubNativePixmapManager; |
| 29 } |
| 30 |
| 31 } // namespace ui |
OLD | NEW |