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

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

Issue 1913613002: Add place holder to move gfx::Display/Screen to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/display/screen.h ('k') | ui/display/win/display_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/win/display_info.h
diff --git a/ui/display/win/display_info.h b/ui/display/win/display_info.h
index d9abdc3f2a7492b4a9028319e56188e9f0a9b73d..ae1dacfb876ea6c31b56df82b836b6d02a22089e 100644
--- a/ui/display/win/display_info.h
+++ b/ui/display/win/display_info.h
@@ -8,8 +8,8 @@
#include <windows.h>
#include <stdint.h>
+#include "ui/display/display.h"
#include "ui/display/display_export.h"
-#include "ui/gfx/display.h"
namespace display {
namespace win {
@@ -20,19 +20,19 @@ class DISPLAY_EXPORT DisplayInfo final {
DisplayInfo(const MONITORINFOEX& monitor_info, float device_scale_factor);
DisplayInfo(const MONITORINFOEX& monitor_info,
float device_scale_factor,
- gfx::Display::Rotation rotation);
+ display::Display::Rotation rotation);
static int64_t DeviceIdFromDeviceName(const wchar_t* device_name);
int64_t id() const { return id_; }
- gfx::Display::Rotation rotation() const { return rotation_; }
+ display::Display::Rotation rotation() const { return rotation_; }
const gfx::Rect& screen_rect() const { return screen_rect_; }
const gfx::Rect& screen_work_rect() const { return screen_work_rect_; }
float device_scale_factor() const { return device_scale_factor_; }
private:
int64_t id_;
- gfx::Display::Rotation rotation_;
+ display::Display::Rotation rotation_;
gfx::Rect screen_rect_;
gfx::Rect screen_work_rect_;
float device_scale_factor_;
« no previous file with comments | « ui/display/screen.h ('k') | ui/display/win/display_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698