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

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

Issue 1195743002: Have StyledMarkupSerializer work on the Composed tree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reviews Created 5 years, 6 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/EditingStrategy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditingStrategy.h
diff --git a/Source/core/editing/EditingStrategy.h b/Source/core/editing/EditingStrategy.h
index d68f1af30f2ede7fba30c3d9f8aaa652ea349b23..fab04794c992d7087255d42dac12f3e2e2fdc8de 100644
--- a/Source/core/editing/EditingStrategy.h
+++ b/Source/core/editing/EditingStrategy.h
@@ -41,6 +41,9 @@ public:
using PositionIteratorType = PositionIteratorAlgorithm<EditingInComposedTreeStrategy>;
using PositionType = PositionAlgorithm<EditingInComposedTreeStrategy>;
+ // Returns true if the given node is considered as selection boundary.
+ static bool isSelectionBoundaryShadowHost(const Node&);
+
// Don't use |parentOrShadowHostNode()| in composed tree specific algorithm.
// This function is provided here for sharing algorithm with
// |TextIteratorAlgorithm|, which handles shadow tree within in
« no previous file with comments | « no previous file | Source/core/editing/EditingStrategy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698