Index: ui/aura/desktop.cc |
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc |
index 74b5e4e127ddfcca1dd080d211cd78c3d054aaed..c149f4b95fd257923ae1f93b1b5eb6b1bc908a9e 100644 |
--- a/ui/aura/desktop.cc |
+++ b/ui/aura/desktop.cc |
@@ -432,6 +432,11 @@ void Desktop::PostNativeEvent(const base::NativeEvent& native_event) { |
host_->PostNativeEvent(native_event); |
} |
+void Desktop::ConvertPointToNativeScreen(gfx::Point* point) const { |
+ gfx::Point location = host_->GetLocationOnNativeScreen(); |
+ point->Offset(location.x(), location.y()); |
+} |
+ |
void Desktop::SetCapture(Window* window) { |
if (capture_window_ == window) |
return; |