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

Unified Diff: ui/gfx/screen_aura.cc

Issue 10540123: Rename gfx::Screen::GetMonitorXXXX to gfx::Screen::GetDisplayXXX. (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 | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_aura.cc
diff --git a/ui/gfx/screen_aura.cc b/ui/gfx/screen_aura.cc
index 3298ba1c7ac512f4bab972b9d7cf9a46912779bc..851b9767acc897d7d827e78719183013f17fcd78 100644
--- a/ui/gfx/screen_aura.cc
+++ b/ui/gfx/screen_aura.cc
@@ -42,28 +42,28 @@ NativeWindow Screen::GetWindowAtCursorScreenPoint() {
}
// static
-int Screen::GetNumMonitors() {
- return g_instance_->GetNumMonitors();
+int Screen::GetNumDisplays() {
+ return g_instance_->GetNumDisplays();
}
// static
-Display Screen::GetMonitorNearestWindow(NativeView window) {
- return g_instance_->GetMonitorNearestWindow(window);
+Display Screen::GetDisplayNearestWindow(NativeView window) {
+ return g_instance_->GetDisplayNearestWindow(window);
}
// static
-Display Screen::GetMonitorNearestPoint(const Point& point) {
- return g_instance_->GetMonitorNearestPoint(point);
+Display Screen::GetDisplayNearestPoint(const Point& point) {
+ return g_instance_->GetDisplayNearestPoint(point);
}
// static
-Display Screen::GetPrimaryMonitor() {
- return g_instance_->GetPrimaryMonitor();
+Display Screen::GetPrimaryDisplay() {
+ return g_instance_->GetPrimaryDisplay();
}
// static
-Display Screen::GetMonitorMatching(const gfx::Rect& match_rect) {
- return g_instance_->GetMonitorNearestPoint(match_rect.CenterPoint());
+Display Screen::GetDisplayMatching(const gfx::Rect& match_rect) {
+ return g_instance_->GetDisplayNearestPoint(match_rect.CenterPoint());
}
} // namespace gfx
« no previous file with comments | « 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