1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_VIEWS_EVENT_UTILS_H_
6 #define UI_VIEWS_EVENT_UTILS_H_
8 #include "ui/gfx/native_widget_types.h"
9 #include "ui/views/views_export.h"
17 // Reposts a located event natively. Returns false when |event| could not be
18 // reposted. |event| should be in screen coordinates. |window| is the target
19 // window that the event will be forwarded to. Only some events are supported.
20 VIEWS_EXPORT bool RepostLocatedEvent(gfx::NativeWindow window,
21 const ui::LocatedEvent& event);
25 #endif // UI_VIEWS_EVENT_UTILS_H_