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

Unified Diff: ui/aura/test/test_screen.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/aura/test/test_screen.cc
diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc
index d242d78e57742ae36c23b6395c30a9c86930ec36..7968e529aefa2e4403b39c700d5785443a0b932f 100644
--- a/ui/aura/test/test_screen.cc
+++ b/ui/aura/test/test_screen.cc
@@ -32,21 +32,21 @@ int TestScreen::GetNumMonitors() {
return 1;
}
-gfx::Monitor TestScreen::GetMonitorNearestWindow(
+gfx::Display TestScreen::GetMonitorNearestWindow(
gfx::NativeWindow window) const {
return GetMonitor();
}
-gfx::Monitor TestScreen::GetMonitorNearestPoint(const gfx::Point& point) const {
+gfx::Display TestScreen::GetMonitorNearestPoint(const gfx::Point& point) const {
return GetMonitor();
}
-gfx::Monitor TestScreen::GetPrimaryMonitor() const {
+gfx::Display TestScreen::GetPrimaryMonitor() const {
return GetMonitor();
}
-gfx::Monitor TestScreen::GetMonitor() const {
- return gfx::Monitor(0, root_window_->bounds());
+gfx::Display TestScreen::GetMonitor() const {
+ return gfx::Display(0, root_window_->bounds());
}
} // namespace aura
« no previous file with comments | « ui/aura/test/test_screen.h ('k') | ui/base/x/events_x.cc » ('j') | ui/gfx/screen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698