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

Unified Diff: ui/display/win/display_info.h

Issue 1825723002: Move ScreenWin to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added is_chromeos guard Created 4 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
Index: ui/display/win/display_info.h
diff --git a/ui/gfx/win/display_info.h b/ui/display/win/display_info.h
similarity index 76%
rename from ui/gfx/win/display_info.h
rename to ui/display/win/display_info.h
index cd972dfcf78b2ae42743c55d0138be2f447b46a7..d9abdc3f2a7492b4a9028319e56188e9f0a9b73d 100644
--- a/ui/gfx/win/display_info.h
+++ b/ui/display/win/display_info.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_WIN_DISPLAY_INFO_H_
-#define UI_GFX_WIN_DISPLAY_INFO_H_
+#ifndef UI_DISPLAY_WIN_DISPLAY_INFO_H_
+#define UI_DISPLAY_WIN_DISPLAY_INFO_H_
#include <windows.h>
#include <stdint.h>
+#include "ui/display/display_export.h"
#include "ui/gfx/display.h"
-#include "ui/gfx/gfx_export.h"
-namespace gfx {
+namespace display {
namespace win {
-// Gathers the parameters necessary to create a gfx::win::ScreenWinDisplay.
-class GFX_EXPORT DisplayInfo final {
+// Gathers the parameters necessary to create a display::win::ScreenWinDisplay.
+class DISPLAY_EXPORT DisplayInfo final {
public:
DisplayInfo(const MONITORINFOEX& monitor_info, float device_scale_factor);
DisplayInfo(const MONITORINFOEX& monitor_info,
@@ -39,6 +39,6 @@ class GFX_EXPORT DisplayInfo final {
};
} // namespace win
-} // namespace gfx
+} // namespace display
-#endif // UI_GFX_WIN_DISPLAY_INFO_H_
+#endif // UI_DISPLAY_WIN_DISPLAY_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698