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

Unified Diff: ui/gfx/linux/client_native_pixmap_dmabuf.h

Issue 2711933002: Rename ClientNativePixmapFactoryGbm to ClientNativePixmapFactoryDmabuf amd move to ui/gfx (Closed)
Patch Set: Addressed sadrul's remark 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/linux/client_native_pixmap_dmabuf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/linux/client_native_pixmap_dmabuf.h
diff --git a/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h b/ui/gfx/linux/client_native_pixmap_dmabuf.h
similarity index 82%
rename from ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h
rename to ui/gfx/linux/client_native_pixmap_dmabuf.h
index 6425e666f1425f8b078aca504276ffe3991da834..b8f5630e51e9857b56b8b856666fcc42fa77fcc8 100644
--- a/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h
+++ b/ui/gfx/linux/client_native_pixmap_dmabuf.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_DMABUF_H_
-#define UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_DMABUF_H_
+#ifndef UI_GFX_LINUX_CLIENT_NATIVE_PIXMAP_DMABUF_H_
+#define UI_GFX_LINUX_CLIENT_NATIVE_PIXMAP_DMABUF_H_
#include <stdint.h>
@@ -15,7 +15,7 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/native_pixmap_handle.h"
-namespace ui {
+namespace gfx {
class ClientNativePixmapDmaBuf : public gfx::ClientNativePixmap {
public:
@@ -44,6 +44,6 @@ class ClientNativePixmapDmaBuf : public gfx::ClientNativePixmap {
DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapDmaBuf);
};
-} // namespace ui
+} // namespace gfx
-#endif // UI_OZONE_PLATFORM_DRM_COMMON_CLIENT_NATIVE_PIXMAP_DMABUF_H_
+#endif // UI_GFX_LINUX_CLIENT_NATIVE_PIXMAP_DMABUF_H_
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/linux/client_native_pixmap_dmabuf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698