| 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_
|
|
|