Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / views / event_utils.h
index 095487b..03bf65b 100644 (file)
@@ -17,10 +17,12 @@ namespace views {
 // Reposts a located event natively. Returns false when |event| could not be
 // reposted. |event| should be in screen coordinates. |window| is the target
 // window that the event will be forwarded to. Only some events are supported.
+// On Windows |window| can be NULL, in which case the event is forwarded to
+// the HWND at the current location if it is on the same thread.
 VIEWS_EXPORT bool RepostLocatedEvent(gfx::NativeWindow window,
                                      const ui::LocatedEvent& event);
 
-#if defined(OS_WIN) && defined(USE_AURA)
+#if defined(OS_WIN)
 // Reposts a located event to the HWND passed in.
 VIEWS_EXPORT bool RepostLocatedEventWin(HWND window,
                                         const ui::LocatedEvent& event);