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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h

Issue 2772203002: Move EditingUtilities::isNodeVisiblyContainedWithin() to CompositeEditCommand (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
index 7a2642b18885004ed7927cdef497872a9b95c707..d4d1f9b32f00e9fa744e3127bc251ca94a08c672 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
@@ -221,6 +221,8 @@ class CORE_EXPORT CompositeEditCommand : public EditCommand {
Node* splitTreeToNode(Node*, Node*, bool splitAncestor = false);
+ static bool isNodeVisiblyContainedWithin(Node&, const Range&);
yosin_UTC9 2017/03/27 08:55:40 We don't need this function as static class member
+
HeapVector<Member<EditCommand>> m_commands;
private:

Powered by Google App Engine
This is Rietveld 408576698