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

Unified Diff: ui/gfx/screen_android.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
« ui/gfx/screen.h ('K') | « 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 cbeb6c737c49fa4ea424b97d0254bf6a1ad1fefe..fa30aef44173b29c9808f55ac8cc08a413928908 100644
--- a/ui/gfx/screen_android.cc
+++ b/ui/gfx/screen_android.cc
@@ -5,7 +5,7 @@
#include "ui/gfx/screen.h"
#include "base/logging.h"
-#include "ui/gfx/monitor.h"
+#include "ui/gfx/display.h"
namespace gfx {
@@ -15,13 +15,13 @@ bool Screen::IsDIPEnabled() {
}
// static
-gfx::Monitor Screen::GetPrimaryMonitor() {
+gfx::Display Screen::GetPrimaryMonitor() {
NOTIMPLEMENTED() << "crbug.com/117839 tracks implementation";
- return gfx::Monitor(0, gfx::Rect(0, 0, 1, 1));
+ return gfx::Display(0, gfx::Rect(0, 0, 1, 1));
}
// static
-gfx::Monitor Screen::GetMonitorNearestWindow(gfx::NativeView view) {
+gfx::Display Screen::GetMonitorNearestWindow(gfx::NativeView view) {
return GetPrimaryMonitor();
}
« ui/gfx/screen.h ('K') | « 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