Index: ui/base/cursor/ozone/cursor_factory_ozone.h |
diff --git a/ui/base/cursor/ozone/cursor_factory_ozone.h b/ui/base/cursor/ozone/cursor_factory_ozone.h |
index 8ea2e742585a93dbf19a344d327d3e5fb604cba7..aefa7fdc47f9f07de005b245d2018544bb8ba848 100644 |
--- a/ui/base/cursor/ozone/cursor_factory_ozone.h |
+++ b/ui/base/cursor/ozone/cursor_factory_ozone.h |
@@ -43,6 +43,11 @@ class UI_BASE_EXPORT CursorFactoryOzone { |
// TODO(spang): Move this. |
virtual void SetCursor(gfx::AcceleratedWidget widget, PlatformCursor cursor); |
+ // Returns the window on which the cursor is active. |
+ // TODO(dnicoara) Move this once the WindowTreeHost refactoring finishes and |
+ // WindowTreeHost::CanDispatchEvent() is no longer present. |
+ virtual gfx::AcceleratedWidget GetActiveWindow(); |
+ |
private: |
static CursorFactoryOzone* impl_; // not owned |
}; |