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

Unified Diff: ui/views/mus/display_converter.cc

Issue 1915363002: Rename gfx::Display/Screen to display::Display/Screen in views/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanups 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/views/mus/display_converter.h ('k') | ui/views/mus/screen_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/display_converter.cc
diff --git a/ui/views/mus/display_converter.cc b/ui/views/mus/display_converter.cc
index fce58f6a114ef58963cf92c37a666a769adf5044..0a66aa62ff2c0aca367012d4454478869f917b63 100644
--- a/ui/views/mus/display_converter.cc
+++ b/ui/views/mus/display_converter.cc
@@ -11,14 +11,14 @@
namespace views {
-std::vector<gfx::Display> GetDisplaysFromWindow(mus::Window* window) {
+std::vector<display::Display> GetDisplaysFromWindow(mus::Window* window) {
static int64_t synthesized_display_id = 2000;
- gfx::Display display;
+ display::Display display;
display.set_id(synthesized_display_id++);
display.SetScaleAndBounds(
window->viewport_metrics().device_pixel_ratio,
gfx::Rect(window->viewport_metrics().size_in_pixels.To<gfx::Size>()));
- std::vector<gfx::Display> displays;
+ std::vector<display::Display> displays;
displays.push_back(display);
return displays;
}
« no previous file with comments | « ui/views/mus/display_converter.h ('k') | ui/views/mus/screen_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698