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

Unified Diff: ui/gfx/screen_android.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.h ('k') | ui/gfx/screen_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_android.cc
diff --git a/ui/gfx/screen_android.cc b/ui/gfx/screen_android.cc
index 576afab617b780e2df6ce8b91cca23c48c843e48..a2e5a5ddb7aec36dbb0e8095c2749c095f6f29ac 100644
--- a/ui/gfx/screen_android.cc
+++ b/ui/gfx/screen_android.cc
@@ -15,23 +15,22 @@ bool Screen::IsDIPEnabled() {
}
// static
-gfx::Display Screen::GetPrimaryMonitor() {
+gfx::Display Screen::GetPrimaryDisplay() {
NOTIMPLEMENTED() << "crbug.com/117839 tracks implementation";
return gfx::Display(0, gfx::Rect(0, 0, 1, 1));
}
// static
-gfx::Display Screen::GetMonitorNearestWindow(gfx::NativeView view) {
- return GetPrimaryMonitor();
+gfx::Display Screen::GetDisplayNearestWindow(gfx::NativeView view) {
+ return GetPrimaryDisplay();
}
// static
-gfx::Display Screen::GetMonitorNearestPoint(const gfx::Point& point) {
- return GetPrimaryMonitor();
+gfx::Display Screen::GetDisplayNearestPoint(const gfx::Point& point) {
+ return GetPrimaryDisplay();
}
-// static
-int Screen::GetNumMonitors() {
+int Screen::GetNumDisplays() {
return 1;
}
« no previous file with comments | « ui/gfx/screen.h ('k') | ui/gfx/screen_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698