webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WebCore::EventContext Class Reference

#include <EventContext.h>

Inheritance diagram for WebCore::EventContext:
WebCore::MouseOrFocusEventContext WebCore::WindowEventContext

Public Member Functions

 EventContext (Node *, EventTarget *currentTarget, EventTarget *)
 
virtual ~EventContext ()
 
Nodenode () const
 
EventTargetcurrentTarget () const
 
EventTargettarget () const
 
bool currentTargetSameAsTarget () const
 
virtual void handleLocalEvents (Event &) const
 
virtual bool isMouseOrFocusEventContext () const
 
virtual bool isTouchEventContext () const
 

Protected Member Functions

bool isUnreachableNode (EventTarget *) const
 

Protected Attributes

RefPtr< Nodem_node
 
RefPtr< EventTargetm_currentTarget
 
RefPtr< EventTargetm_target
 

Constructor & Destructor Documentation

◆ EventContext()

WebCore::EventContext::EventContext ( Node node,
EventTarget currentTarget,
EventTarget target 
)

◆ ~EventContext()

WebCore::EventContext::~EventContext ( )
virtual

Member Function Documentation

◆ currentTarget()

EventTarget* WebCore::EventContext::currentTarget ( ) const
inline

◆ currentTargetSameAsTarget()

bool WebCore::EventContext::currentTargetSameAsTarget ( ) const
inline

◆ handleLocalEvents()

void WebCore::EventContext::handleLocalEvents ( Event event) const
virtual

Reimplemented in WebCore::WindowEventContext.

◆ isMouseOrFocusEventContext()

bool WebCore::EventContext::isMouseOrFocusEventContext ( ) const
virtual

◆ isTouchEventContext()

bool WebCore::EventContext::isTouchEventContext ( ) const
virtual

◆ isUnreachableNode()

bool WebCore::EventContext::isUnreachableNode ( EventTarget target) const
inlineprotected

◆ node()

Node* WebCore::EventContext::node ( ) const
inline

◆ target()

EventTarget* WebCore::EventContext::target ( ) const
inline

Member Data Documentation

◆ m_currentTarget

RefPtr<EventTarget> WebCore::EventContext::m_currentTarget
protected

◆ m_node

RefPtr<Node> WebCore::EventContext::m_node
protected

◆ m_target

RefPtr<EventTarget> WebCore::EventContext::m_target
protected

The documentation for this class was generated from the following files: