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

Unified Diff: ui/app_list/app_list_view.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 | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | ui/aura/desktop/desktop_screen_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_view.cc
diff --git a/ui/app_list/app_list_view.cc b/ui/app_list/app_list_view.cc
index 1ec1458ef894fb69313feb315cac02ae83910abf..210a0a865532cda38e9d487698e8b6fdeac69f02 100644
--- a/ui/app_list/app_list_view.cc
+++ b/ui/app_list/app_list_view.cc
@@ -160,7 +160,7 @@ gfx::Rect AppListView::GetBubbleBounds() {
GetPreferredSize(),
false /* try_mirroring_arrow */);
- gfx::Rect monitor_rect = gfx::Screen::GetMonitorNearestPoint(
+ gfx::Rect monitor_rect = gfx::Screen::GetDisplayNearestPoint(
anchor_rect.CenterPoint()).work_area();
if (monitor_rect.IsEmpty() || monitor_rect.Contains(bubble_rect))
return bubble_rect;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | ui/aura/desktop/desktop_screen_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698