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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1958093002: CONTINUED Make FrameSelection to hold non-canonicalized positions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2017-01-16T20:04:35 Created 3 years, 11 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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 19e980feb4ccc63b391e0c9fc45433d3568c993f..e8cd12e90cc7151163c41868251fdaeeb91cab00 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -78,7 +78,6 @@ class Attr;
class CDATASection;
class CSSStyleSheet;
class CanvasFontCache;
-class CharacterData;
class ChromeClient;
class CompositorPendingAnimations;
class Comment;
@@ -750,15 +749,15 @@ class CORE_EXPORT Document : public ContainerNode,
void nodeChildrenWillBeRemoved(ContainerNode&);
// nodeWillBeRemoved is only safe when removing one node at a time.
void nodeWillBeRemoved(Node&);
- // Called just before a destructive update to some CharacterData.
- void dataWillChange(const CharacterData&);
bool canAcceptChild(const Node& newChild,
const Node* oldChild,
ExceptionState&) const;
void didInsertText(Node*, unsigned offset, unsigned length);
void didRemoveText(Node*, unsigned offset, unsigned length);
- void didMergeTextNodes(Text& oldNode, unsigned offset);
+ void didMergeTextNodes(const Text& mergedNode,
+ const Text& nodeToBeRemoved,
+ unsigned oldLength);
void didSplitTextNode(const Text& oldNode);
void clearDOMWindow() { m_domWindow = nullptr; }
« no previous file with comments | « third_party/WebKit/Source/core/dom/CharacterData.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698