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

Unified Diff: ui/gfx/screen_aura.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
Index: ui/gfx/screen_aura.cc
diff --git a/ui/gfx/screen_aura.cc b/ui/gfx/screen_aura.cc
index 7341a0edc07d469c235bb354cba1e74349b2a703..3298ba1c7ac512f4bab972b9d7cf9a46912779bc 100644
--- a/ui/gfx/screen_aura.cc
+++ b/ui/gfx/screen_aura.cc
@@ -5,7 +5,7 @@
#include "ui/gfx/screen.h"
#include "base/logging.h"
-#include "ui/gfx/monitor.h"
+#include "ui/gfx/display.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/screen_impl.h"
@@ -47,22 +47,22 @@ int Screen::GetNumMonitors() {
}
// static
-Monitor Screen::GetMonitorNearestWindow(NativeView window) {
+Display Screen::GetMonitorNearestWindow(NativeView window) {
return g_instance_->GetMonitorNearestWindow(window);
}
// static
-Monitor Screen::GetMonitorNearestPoint(const Point& point) {
+Display Screen::GetMonitorNearestPoint(const Point& point) {
return g_instance_->GetMonitorNearestPoint(point);
}
// static
-Monitor Screen::GetPrimaryMonitor() {
+Display Screen::GetPrimaryMonitor() {
return g_instance_->GetPrimaryMonitor();
}
// static
-Monitor Screen::GetMonitorMatching(const gfx::Rect& match_rect) {
+Display Screen::GetMonitorMatching(const gfx::Rect& match_rect) {
return g_instance_->GetMonitorNearestPoint(match_rect.CenterPoint());
}
« ui/gfx/screen.h ('K') | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698