summaryrefslogtreecommitdiffstats
path: root/ui/aura/desktop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/desktop.cc')
-rw-r--r--ui/aura/desktop.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index a4aa58e..b3a8b8a 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -377,6 +377,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;