diff options
Diffstat (limited to 'chromium/ui/views/event_utils.h')
-rw-r--r-- | chromium/ui/views/event_utils.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/chromium/ui/views/event_utils.h b/chromium/ui/views/event_utils.h deleted file mode 100644 index 095487b1525..00000000000 --- a/chromium/ui/views/event_utils.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef UI_VIEWS_EVENT_UTILS_H_ -#define UI_VIEWS_EVENT_UTILS_H_ - -#include "ui/gfx/native_widget_types.h" -#include "ui/views/views_export.h" - -namespace ui { -class LocatedEvent; -} - -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. -VIEWS_EXPORT bool RepostLocatedEvent(gfx::NativeWindow window, - const ui::LocatedEvent& event); - -#if defined(OS_WIN) && defined(USE_AURA) -// Reposts a located event to the HWND passed in. -VIEWS_EXPORT bool RepostLocatedEventWin(HWND window, - const ui::LocatedEvent& event); -#endif - -} // namespace views - -#endif // UI_VIEWS_EVENT_UTILS_H_ |