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

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

Issue 96483003: CANCEL: Make Document::caretRangeFromPoint() to work with :before style Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-12-03T12:38:54 Created 7 years 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
Index: Source/core/dom/TreeScope.h
diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h
index 26154da58c77ee3f7e5062e1e3a53496d958fa58..2962b595ca2f1a58c59fd2b9d3d967c958543ea3 100644
--- a/Source/core/dom/TreeScope.h
+++ b/Source/core/dom/TreeScope.h
@@ -39,6 +39,7 @@ class Document;
class Element;
class HTMLLabelElement;
class HTMLMapElement;
+class HitTestResult;
class LayoutPoint;
class IdTargetObserverRegistry;
class Node;
@@ -194,7 +195,7 @@ inline bool operator!=(const TreeScope& a, const TreeScope& b) { return !(a == b
inline bool operator!=(const TreeScope& a, const TreeScope* b) { return !(a == b); }
inline bool operator!=(const TreeScope* a, const TreeScope& b) { return !(a == b); }
-RenderObject* rendererFromPoint(Document*, int x, int y, LayoutPoint* localPoint = 0);
+HitTestResult hitTestInDocument(const Document&, int x, int y);
TreeScope* commonTreeScope(Node*, Node*);
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698