Index: Source/core/dom/Position.h |
diff --git a/Source/core/dom/Position.h b/Source/core/dom/Position.h |
index 7a306942eb6cc74c75241958ded644c64bbc1d26..6c7e3a2ed22d0f8ba7ba9d6cf974657a8943344f 100644 |
--- a/Source/core/dom/Position.h |
+++ b/Source/core/dom/Position.h |
@@ -122,6 +122,9 @@ public: |
Node* anchorNode() const { return m_anchorNode.get(); } |
+ RenderObject* renderer() const; |
+ int offsetInRenderer() const; |
+ |
// FIXME: Callers should be moved off of node(), node() is not always the container for this position. |
// For nodes which editingIgnoresContent(node()) returns true, positions like [ignoredNode, 0] |
// will be treated as before ignoredNode (thus node() is really after the position, not containing it). |
@@ -189,6 +192,7 @@ public: |
static bool hasRenderedNonAnonymousDescendantsWithHeight(RenderObject*); |
static bool nodeIsUserSelectNone(Node*); |
+ static bool rendererIsUserSelectNone(RenderObject*); |
#if ENABLE(USERSELECT_ALL) |
static bool nodeIsUserSelectAll(const Node*); |
static Node* rootUserSelectAllForNode(Node*); |