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

Unified Diff: ui/display/win/screen_win_display.cc

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/win/screen_win_display.h ('k') | ui/display/win/screen_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/win/screen_win_display.cc
diff --git a/ui/display/win/screen_win_display.cc b/ui/display/win/screen_win_display.cc
index 2a9f941de5720cc5e7ead18471ea59b73da033e9..b16e33880191f6c5f329d9cdbea95fecf4fc342e 100644
--- a/ui/display/win/screen_win_display.cc
+++ b/ui/display/win/screen_win_display.cc
@@ -12,14 +12,13 @@ namespace win {
namespace {
-gfx::Display CreateDisplayFromDisplayInfo(const DisplayInfo& display_info) {
- gfx::Display display(display_info.id());
+Display CreateDisplayFromDisplayInfo(const DisplayInfo& display_info) {
+ Display display(display_info.id());
gfx::Rect dip_screen_bounds(
- display::win::ScreenWin::ScreenToDIPRect(nullptr,
- display_info.screen_rect()));
+ ScreenWin::ScreenToDIPRect(nullptr, display_info.screen_rect()));
display.set_bounds(dip_screen_bounds);
display.set_work_area(
- display::win::ScreenWin::ScreenToDIPRect(
+ ScreenWin::ScreenToDIPRect(
nullptr, display_info.screen_work_rect()));
display.SetScaleAndBounds(display_info.device_scale_factor(),
display_info.screen_rect());
« no previous file with comments | « ui/display/win/screen_win_display.h ('k') | ui/display/win/screen_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698