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

Unified Diff: ash/screen_ash.cc

Issue 10540091: Rename gfx::Monitor to gfx::Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « ash/screen_ash.h ('k') | ash/shell.h » ('j') | ui/gfx/screen.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_ash.cc
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index c7d9cb94187e2fa0ade73b2f86f9204588cf84ac..71df546efd0a8e0ea53c25fef932d3f1b6ab400d 100644
--- a/ash/screen_ash.cc
+++ b/ash/screen_ash.cc
@@ -10,7 +10,7 @@
#include "ui/aura/env.h"
#include "ui/aura/monitor_manager.h"
#include "ui/aura/root_window.h"
-#include "ui/gfx/monitor.h"
+#include "ui/gfx/display.h"
#include "ui/gfx/screen.h"
namespace ash {
@@ -58,15 +58,15 @@ int ScreenAsh::GetNumMonitors() {
return GetMonitorManager()->GetNumMonitors();
}
-gfx::Monitor ScreenAsh::GetMonitorNearestWindow(gfx::NativeView window) const {
+gfx::Display ScreenAsh::GetMonitorNearestWindow(gfx::NativeView window) const {
return GetMonitorManager()->GetMonitorNearestWindow(window);
}
-gfx::Monitor ScreenAsh::GetMonitorNearestPoint(const gfx::Point& point) const {
+gfx::Display ScreenAsh::GetMonitorNearestPoint(const gfx::Point& point) const {
return GetMonitorManager()->GetMonitorNearestPoint(point);
}
-gfx::Monitor ScreenAsh::GetPrimaryMonitor() const {
+gfx::Display ScreenAsh::GetPrimaryMonitor() const {
return GetMonitorManager()->GetMonitorAt(0);
}
« no previous file with comments | « ash/screen_ash.h ('k') | ash/shell.h » ('j') | ui/gfx/screen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698