| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/ozone/platform/drm/client_native_pixmap_factory_gbm.h" | 5 #include "ui/ozone/platform/drm/client_native_pixmap_factory_gbm.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ui/gfx/native_pixmap_handle_ozone.h" | 10 #include "ui/gfx/native_pixmap_handle_ozone.h" |
| 11 #include "ui/ozone/public/client_native_pixmap_factory.h" // nogncheck | 11 #include "ui/ozone/public/client_native_pixmap_factory.h" |
| 12 | 12 |
| 13 #if defined(USE_VGEM_MAP) | 13 #if defined(USE_VGEM_MAP) |
| 14 #include "ui/ozone/platform/drm/common/client_native_pixmap_vgem.h" | 14 #include "ui/ozone/platform/drm/common/client_native_pixmap_vgem.h" |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 class ClientNativePixmapGbm : public ClientNativePixmap { | 21 class ClientNativePixmapGbm : public ClientNativePixmap { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 #endif | 101 #endif |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactoryGbm); | 103 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactoryGbm); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 ClientNativePixmapFactory* CreateClientNativePixmapFactoryGbm() { | 106 ClientNativePixmapFactory* CreateClientNativePixmapFactoryGbm() { |
| 107 return new ClientNativePixmapFactoryGbm(); | 107 return new ClientNativePixmapFactoryGbm(); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace ui | 110 } // namespace ui |
| OLD | NEW |