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

Unified Diff: ash/shell.cc

Issue 1948273004: Rename gfx::Screen/DIsplay to display::Screen/Display in ui/views_content_client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | ui/views_content_client/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 974fee27390f096df4d70c3f0aa59334db71cd92..8f4b51a1e00456341a85ffa62f2252a5dd4ceccd 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -170,7 +170,7 @@ using views::Widget;
int64_t GetDisplayIdForWindow(aura::Window* window) {
if (!window)
return Shell::GetTargetDisplayId();
- return gfx::Screen::GetScreen()->GetDisplayNearestWindow(window).id();
+ return display::Screen::GetScreen()->GetDisplayNearestWindow(window).id();
}
// A Corewm VisibilityController subclass that calls the Ash animation routine
@@ -264,7 +264,7 @@ aura::Window* Shell::GetTargetRootWindow() {
// static
int64_t Shell::GetTargetDisplayId() {
- return gfx::Screen::GetScreen()
+ return display::Screen::GetScreen()
->GetDisplayNearestWindow(GetTargetRootWindow())
.id();
}
« no previous file with comments | « no previous file | ui/views_content_client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698