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

Unified Diff: ui/ozone/platform/drm/common/drm_util.h

Issue 1133053003: [Ozone-Drm] Move DRM utilities from gpu/ to common/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/ozone/platform/drm/BUILD.gn ('k') | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/common/drm_util.h
diff --git a/ui/ozone/platform/drm/gpu/drm_util.h b/ui/ozone/platform/drm/common/drm_util.h
similarity index 73%
rename from ui/ozone/platform/drm/gpu/drm_util.h
rename to ui/ozone/platform/drm/common/drm_util.h
index 923072f953b6b662e5098254648cd5e70e4efa59..9ea934b27e56db304da642bdeee5c6952ae73fe8 100644
--- a/ui/ozone/platform/drm/gpu/drm_util.h
+++ b/ui/ozone/platform/drm/common/drm_util.h
@@ -2,22 +2,18 @@
// 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_GPU_DRM_UTIL_H_
-#define UI_OZONE_PLATFORM_DRM_GPU_DRM_UTIL_H_
+#ifndef UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
+#define UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "base/memory/ref_counted.h"
#include "base/memory/scoped_vector.h"
-#include "ui/ozone/platform/drm/gpu/scoped_drm_types.h"
+#include "ui/ozone/platform/drm/common/scoped_drm_types.h"
typedef struct _drmModeModeInfo drmModeModeInfo;
namespace ui {
-class DrmDevice;
-class ScreenManager;
-
// Representation of the information required to initialize and configure a
// native display.
class HardwareDisplayControllerInfo {
@@ -43,9 +39,6 @@ ScopedVector<HardwareDisplayControllerInfo> GetAvailableDisplayControllerInfos(
bool SameMode(const drmModeModeInfo& lhs, const drmModeModeInfo& rhs);
-void ForceInitializationOfPrimaryDisplay(const scoped_refptr<DrmDevice>& drm,
- ScreenManager* screen_manager);
-
} // namespace ui
-#endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_UTIL_H_
+#endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
« no previous file with comments | « ui/ozone/platform/drm/BUILD.gn ('k') | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698