Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc

Issue 2705333006: Move client_native_pixmap_factory.h from ui/ozone/public to ui/gfx (Closed)
Patch Set: Fix trace Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "ui/gfx/client_native_pixmap_factory.h"
11 #include "ui/gfx/native_pixmap_handle.h" 12 #include "ui/gfx/native_pixmap_handle.h"
12 #include "ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h" 13 #include "ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h"
13 #include "ui/ozone/public/client_native_pixmap_factory.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 namespace { 17 namespace {
18 18
19 class ClientNativePixmapGbm : public ClientNativePixmap { 19 class ClientNativePixmapGbm : public ClientNativePixmap {
20 public: 20 public:
21 ClientNativePixmapGbm() {} 21 ClientNativePixmapGbm() {}
22 ~ClientNativePixmapGbm() override {} 22 ~ClientNativePixmapGbm() override {}
23 23
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 109
110 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactoryGbm); 110 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactoryGbm);
111 }; 111 };
112 112
113 ClientNativePixmapFactory* CreateClientNativePixmapFactoryGbm() { 113 ClientNativePixmapFactory* CreateClientNativePixmapFactoryGbm() {
114 return new ClientNativePixmapFactoryGbm(); 114 return new ClientNativePixmapFactoryGbm();
115 } 115 }
116 116
117 } // namespace ui 117 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698