-
hayato@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=110146 Reviewed by Dimitri Glazkov. Rename AncestorChainWalker to EventPathWalker. The term of EventPath is used in DOM Core spec. EventPath was already introduced into a EventContext.h in r112055. We should spread this term into the Walker class since they share the same purpose. No new tests, no behavior change. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * dom/DOMAllInOne.cpp: * dom/EventDispatcher.cpp: * dom/EventPathWalker.cpp: Renamed from Source/WebCore/dom/AncestorChainWalker.cpp. (WebCore): (WebCore::EventPathWalker::EventPathWalker): (WebCore::EventPathWalker::parent): parent() is now a static function to cover simple use cases. (WebCore::EventPathWalker::moveToParent): Renamed from parent(). * dom/EventPathWalker.h: Renamed from Source/WebCore/dom/AncestorChainWalker.h. (WebCore): (EventPathWalker): (WebCore::EventPathWalker::node): (WebCore::EventPathWalker::isVisitingInsertionPointInReprojection): Renamed from isCrossingInsertionPoint(). * dom/EventRetargeter.cpp: (WebCore::EventRetargeter::calculateEventPath): (WebCore::EventRetargeter::buildRelatedNodeMap): * dom/TreeScope.cpp: (WebCore::TreeScope::focusedNode): * html/HTMLLIElement.cpp: (WebCore::HTMLLIElement::attach): * page/EventHandler.cpp: (WebCore::EventHandler::updateMouseEventTargetNode): (WebCore::EventHandler::handleWheelEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
68142bae