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

Unified Diff: ui/base/x/events_x.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/aura/window_unittest.cc ('k') | ui/gfx/screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/events_x.cc
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc
index 936947ae173c2ac9c218ebdc3f29643404e5d661..3ecba7e5b34f8dca5cd22450a8e46c93b516b170 100644
--- a/ui/base/x/events_x.cc
+++ b/ui/base/x/events_x.cc
@@ -581,7 +581,7 @@ gfx::Point CalibrateTouchCoordinates(
// testing with. I have the feeling that the DPI resolution of the bezel is
// less then the dpi resolution over the visible part - which would explain
// why the small value (50) is so wide compared to the entire area.
- gfx::Rect bounds = gfx::Screen::GetPrimaryMonitor().bounds_in_pixel();
+ gfx::Rect bounds = gfx::Screen::GetPrimaryDisplay().bounds_in_pixel();
const int kLeftBorder = 50;
const int kRightBorder = 50;
const int kBottomBorder = 50;
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/gfx/screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698