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

Unified Diff: ui/display/win/screen_win.cc

Issue 2751833004: Reland "Add display::GetDisplayNearestView" (Closed)
Patch Set: Created 3 years, 9 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/display/win/screen_win.h ('k') | ui/message_center/views/toast_contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/win/screen_win.cc
diff --git a/ui/display/win/screen_win.cc b/ui/display/win/screen_win.cc
index 636eb90dc3add9da339676e9612aba3990aeeaae..a62cde1cd6075adc59c021645b95ca16dd6fdca5 100644
--- a/ui/display/win/screen_win.cc
+++ b/ui/display/win/screen_win.cc
@@ -393,7 +393,7 @@ const std::vector<Display>& ScreenWin::GetAllDisplays() const {
return displays_;
}
-Display ScreenWin::GetDisplayNearestWindow(gfx::NativeView window) const {
+Display ScreenWin::GetDisplayNearestWindow(gfx::NativeWindow window) const {
HWND window_hwnd = GetHWNDFromNativeView(window);
if (!window_hwnd) {
// When |window| isn't rooted to a display, we should just return the
« no previous file with comments | « ui/display/win/screen_win.h ('k') | ui/message_center/views/toast_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698