Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / base / cursor / ozone / cursor_factory_ozone.h
index 8ea2e74..ac18a50 100644 (file)
@@ -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 GetCursorWindow();
+
  private:
   static CursorFactoryOzone* impl_;  // not owned
 };