Index: ui/aura/desktop_host_win.cc |
diff --git a/ui/aura/desktop_host_win.cc b/ui/aura/desktop_host_win.cc |
index 36399e2da5e38ceaaf6499eb2390d28ea92b62f2..f2147d5b00b77b3249fbeced719fdf1d43428b54 100644 |
--- a/ui/aura/desktop_host_win.cc |
+++ b/ui/aura/desktop_host_win.cc |
@@ -230,6 +230,12 @@ void DesktopHostWin::PostNativeEvent(const base::NativeEvent& native_event) { |
hwnd(), native_event.message, native_event.wParam, native_event.lParam); |
} |
+void DesktopHostWin::ConvertPointToNativeScreen(gfx::Point* point) const { |
+ RECT r; |
+ GetClientRect(hwnd(), &r); |
+ point->Offset(r.left, r.top); |
+} |
+ |
void DesktopHostWin::OnClose() { |
// TODO: this obviously shouldn't be here. |
MessageLoopForUI::current()->Quit(); |