diff options
Diffstat (limited to 'Source/WebCore/dom/EventDispatcher.h')
-rw-r--r-- | Source/WebCore/dom/EventDispatcher.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Source/WebCore/dom/EventDispatcher.h b/Source/WebCore/dom/EventDispatcher.h index 64040dd3c..d84df443d 100644 --- a/Source/WebCore/dom/EventDispatcher.h +++ b/Source/WebCore/dom/EventDispatcher.h @@ -23,27 +23,21 @@ * Boston, MA 02110-1301, USA. */ -#ifndef EventDispatcher_h -#define EventDispatcher_h +#pragma once #include "SimulatedClickOptions.h" #include <wtf/Forward.h> -#include <wtf/PassRefPtr.h> namespace WebCore { -class Element; class Event; class Node; namespace EventDispatcher { -bool dispatchEvent(Node*, PassRefPtr<Event>); -void dispatchScopedEvent(Node&, PassRefPtr<Event>); -void dispatchSimulatedClick(Element*, Event* underlyingEvent, SimulatedClickMouseEventOptions, SimulatedClickVisualOptions); - -}; +bool dispatchEvent(Node&, Event&); +void dispatchScopedEvent(Node&, Event&); } -#endif +} // namespace WebCore |