Chromium Code Reviews| Index: Source/core/dom/TreeScope.h |
| diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h |
| index 1e5efcf2f1debf28b4631f75cd06cdcb6b9285e5..143ac9b0a79db0c56d78dd031caedaf64898c026 100644 |
| --- a/Source/core/dom/TreeScope.h |
| +++ b/Source/core/dom/TreeScope.h |
| @@ -40,6 +40,7 @@ class Element; |
| class HTMLLabelElement; |
| class HTMLMapElement; |
| class HitTestResult; |
| +class HitTestRequest; |
| class IdTargetObserverRegistry; |
| class ScopedStyleResolver; |
| class Node; |
| @@ -75,6 +76,7 @@ public: |
| HTMLMapElement* getImageMap(const String& url) const; |
| Element* elementFromPoint(int x, int y) const; |
| + Vector<Element*> elementsFromPoint(int x, int y) const; |
| // For accessibility. |
| bool shouldCacheLabelsByForAttribute() const { return m_labelsByForAttribute; } |
| @@ -206,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); |
| +HitTestResult hitTestInDocument(const Document*, int x, int y, HitTestRequest); |
|
Rick Byers
2015/02/04 10:34:03
I think most places pass HitTestRequest by const r
pdr.
2015/02/17 04:10:13
Done
|
| } // namespace blink |