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

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

Issue 1289423005: Move a static member function hasRenderedNonAnonymousDescendantsWithHeight() out from PositionAlgori (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-19T23:25:33 Rebase Created 5 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
« no previous file with comments | « no previous file | Source/core/editing/Position.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Position.h
diff --git a/Source/core/editing/Position.h b/Source/core/editing/Position.h
index f794a3fe20e6200be42ea711543987b11b365dd8..991e4a61b0055e257031876fc7053fa35b8f459f 100644
--- a/Source/core/editing/Position.h
+++ b/Source/core/editing/Position.h
@@ -197,7 +197,6 @@ public:
InlineBoxPosition computeInlineBoxPosition(TextAffinity) const;
InlineBoxPosition computeInlineBoxPosition(TextAffinity, TextDirection primaryDirection) const;
- static bool hasRenderedNonAnonymousDescendantsWithHeight(LayoutObject*);
static bool nodeIsUserSelectAll(const Node*);
static Node* rootUserSelectAllForNode(Node*);
static PositionAlgorithm<Strategy> beforeNode(Node* anchorNode);
@@ -442,6 +441,10 @@ inline PositionInComposedTree fromPositionInDOMTree<EditingInComposedTreeStrateg
return toPositionInComposedTree(position);
}
+// TODO(yosin) We should move |hasRenderedNonAnonymousDescendantsWithHeight|
+// to "VisibleUnits.cpp" to reduce |LayoutObject| dependency in "Position.cpp"
+bool hasRenderedNonAnonymousDescendantsWithHeight(LayoutObject*);
+
} // namespace blink
#ifndef NDEBUG
« no previous file with comments | « no previous file | Source/core/editing/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698