Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Unified Diff: Source/core/events/EventContext.cpp

Issue 125593005: Rename EventContext to NodeEventContext. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/EventContext.h ('k') | Source/core/events/EventDispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventContext.cpp
diff --git a/Source/core/events/EventContext.cpp b/Source/core/events/EventContext.cpp
index ed40fa9f8a7f6bdfe4903a61515cf2cc3c45e5e6..0282b13483299c3ef157d7f239fd9d136b9758f9 100644
--- a/Source/core/events/EventContext.cpp
+++ b/Source/core/events/EventContext.cpp
@@ -35,14 +35,14 @@
namespace WebCore {
-EventContext::EventContext(PassRefPtr<Node> node, PassRefPtr<EventTarget> currentTarget)
+NodeEventContext::NodeEventContext(PassRefPtr<Node> node, PassRefPtr<EventTarget> currentTarget)
: m_node(node)
, m_currentTarget(currentTarget)
{
ASSERT(m_node);
}
-EventContext::~EventContext()
+NodeEventContext::~NodeEventContext()
{
}
@@ -51,7 +51,7 @@ void TreeScopeEventContext::adoptEventPath(Vector<RefPtr<Node> >& nodes)
m_eventPath = StaticNodeList::adopt(nodes);
}
-void EventContext::handleLocalEvents(Event* event) const
+void NodeEventContext::handleLocalEvents(Event* event) const
{
if (touchEventContext()) {
touchEventContext()->handleLocalEvents(event);
« no previous file with comments | « Source/core/events/EventContext.h ('k') | Source/core/events/EventDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698