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

Unified Diff: Source/core/dom/TreeScope.h

Issue 1177123003: Revert "Implement a Hit Test Cache for same point hits." (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/dom/Document.cpp ('k') | Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/TreeScope.h
diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h
index de9866df223935dc68e1143b7af76d6b547bf5c5..1bfcdf91861bd05cc0b548b98cc7eebc3ba2422e 100644
--- a/Source/core/dom/TreeScope.h
+++ b/Source/core/dom/TreeScope.h
@@ -29,7 +29,6 @@
#include "core/CoreExport.h"
#include "core/dom/DocumentOrderedMap.h"
-#include "core/layout/HitTestRequest.h"
#include "platform/heap/Handle.h"
#include "wtf/text/AtomicString.h"
@@ -42,6 +41,7 @@ class Element;
class HTMLLabelElement;
class HTMLMapElement;
class HitTestResult;
+class HitTestRequest;
class IdTargetObserverRegistry;
class ScopedStyleResolver;
class Node;
@@ -77,7 +77,6 @@ public:
HTMLMapElement* getImageMap(const String& url) const;
Element* elementFromPoint(int x, int y) const;
- Element* elementFromPointNoCache(int x, int y) const;
Vector<Element*> elementsFromPoint(int x, int y) const;
// For accessibility.
@@ -177,8 +176,6 @@ private:
bool rootNodeHasTreeSharedParent() const;
- Element* hitTestPoint(int x, int y, const HitTestRequest&) const;
-
RawPtrWillBeMember<ContainerNode> m_rootNode;
RawPtrWillBeMember<Document> m_document;
RawPtrWillBeMember<TreeScope> m_parentTreeScope;
@@ -211,7 +208,7 @@ inline bool TreeScope::containsMultipleElementsWithId(const AtomicString& id) co
DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(TreeScope)
-HitTestResult hitTestInDocument(const Document*, int x, int y, const HitTestRequest& = HitTestRequest::ReadOnly | HitTestRequest::Active);
+HitTestResult hitTestInDocument(const Document*, int x, int y);
} // namespace blink
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698