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

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

Issue 20681004: Make first-letter style to work with editing Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-08-08T13:29:08 Created 7 years, 4 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
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*);

Powered by Google App Engine
This is Rietveld 408576698